Export (0) Print
Expand All

MouseWheelEventArgs.Delta Property

Gets a value that indicates the amount that the mouse wheel rotated relative to its starting state or to the last occurrence of the event.

Namespace:  System.Windows.Input
Assembly:  System.Windows (in System.Windows.dll)

public int Delta { get; }

Property Value

Type: System.Int32
An integer value that provides a factor of how much the mouse wheel rotated. This value can be a negative integer; see Remarks.

To obtain the absolute value of the delta, multiply by 120 the number of detents (notches on the wheel) that the wheel rotated. The delta is positive if the wheel rotated forward (away from the user), and negative if the wheel rotated backward.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft