Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 2.05 KB

control_onpointerwheelchanged_1180757497.md

File metadata and controls

34 lines (22 loc) · 2.05 KB
-api-id -api-type
M:Windows.UI.Xaml.Controls.Control.OnPointerWheelChanged(Windows.UI.Xaml.Input.PointerRoutedEventArgs)
winrt method

Windows.UI.Xaml.Controls.Control.OnPointerWheelChanged

-description

Called before the PointerWheelChanged event occurs.

-parameters

-param e

Event data for the event.

-remarks

Windows 8 behavior

For Windows 8, track pad device gestures that were input-handled by a ScrollViewer control part were interpreted as mouse wheel input, and thus would fire a PointerWheelChanged event. Starting with Windows 8.1, ScrollViewer uses an underlying manipulation logic that interprets track pad gestures as actions that the ScrollViewer responds to, and thus the gesture is considered handled by the control and the PointerWheelChanged event is not fired anymore.

If you migrate your app code from Windows 8 to Windows 8.1 you may want to account for this behavior change, because it results in PointerWheelChanged being fired in fewer cases. Also, the behavior that's now built-in to ScrollViewer may be duplicating what your handler would have done.

Apps that were compiled for Windows 8 but running on Windows 8.1 continue to use the Windows 8 behavior.

-examples

-see-also

PointerRoutedEventArgs, Events and routed events overview, Custom user interactions, Handle pointer input