The event handler receives an argument of type System.Windows.Input.MouseEventArgs containing data related to this event. The following MouseEventArgs properties provide information specific to this event.
Property | Description |
---|
Device | (Inherited from System.Windows.Input.InputEventArgs) |
Handled | (Inherited from System.Windows.RoutedEventArgs) |
LeftButton | Gets the current state of the left mouse button. |
MiddleButton | Gets the current state of the middle mouse button. |
MouseDevice | Gets the mouse device associated with this event. |
OriginalSource | (Inherited from System.Windows.RoutedEventArgs) |
RightButton | Gets the current state of the right mouse button. |
RoutedEvent | (Inherited from System.Windows.RoutedEventArgs) |
Source | (Inherited from System.Windows.RoutedEventArgs) |
StylusDevice | Gets the stylus device associated with this event. |
Timestamp | (Inherited from System.Windows.Input.InputEventArgs) |
XButton1 | Gets the current state of the first extended mouse button. |
XButton2 | Gets the state of the second extended mouse button. |