locked
After registering for ScrollViewer ViewChanged event, I stop seeing PointWheelChanged events

    Question

  • In the below XAML, if I remove the ViewChanged event, I see the PointerWheelChanged events, but with it in, I never hit MyZoomScrollViewer_PointerWheelChanged.  This is true, even if I leave the MyScrollViewer_ViewChanged method empty.  Is this expected?

    <ScrollViewer
    IsZoomChainingEnabled="True"
    MinZoomFactor="1"
    HorizontalScrollMode="Disabled"
    VerticalScrollMode="Disabled"
    ZoomMode="Enabled"
    ViewChanged="MyScrollViewer_ViewChanged"
    PointerWheelChanged="MyZoomScrollViewer_PointerWheelChanged">

    Thursday, May 9, 2013 11:50 PM

Answers