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) |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also