Syntax
Visual Basic (Declaration) | |
---|
Public Event MouseWheel As System.Windows.Input.MouseWheelEventHandler |
C# | |
---|
public event System.Windows.Input.MouseWheelEventHandler MouseWheel |
Event Data
The event handler receives an argument of type System.Windows.Input.MouseWheelEventArgs containing data related to this event. The following MouseWheelEventArgs properties provide information specific to this event.
Property | Description |
---|
Delta | 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. |
Handled | Gets or sets a value that marks the routed event as handled, and prevents most handlers along the event route from rehandling the same event. |
OriginalSource (Inherited from System.Windows.RoutedEventArgs) | |
StylusDevice (Inherited from System.Windows.Input.MouseEventArgs) | |
See Also