Export (0) Print
Expand All

MouseButtonEventArgs Properties

The MouseButtonEventArgs type exposes the following members.

  Name Description
Public property ButtonState Gets the state of the button associated with the event.
Public property ChangedButton Gets the button associated with the event.
Public property ClickCount Gets the number of times the button was clicked.
Public property Device Gets the input device that initiated this event. (Inherited from InputEventArgs.)
Public property Handled Gets or sets a value that indicates the present state of the event handling for a routed event as it travels the route. (Inherited from RoutedEventArgs.)
Public property LeftButton Gets the current state of the left mouse button. (Inherited from MouseEventArgs.)
Public property MiddleButton Gets the current state of the middle mouse button. (Inherited from MouseEventArgs.)
Public property MouseDevice Gets the mouse device associated with this event. (Inherited from MouseEventArgs.)
Public property OriginalSource Gets the original reporting source as determined by pure hit testing, before any possible Source adjustment by a parent class. (Inherited from RoutedEventArgs.)
Public property RightButton Gets the current state of the right mouse button. (Inherited from MouseEventArgs.)
Public property RoutedEvent Gets or sets the RoutedEvent associated with this RoutedEventArgs instance. (Inherited from RoutedEventArgs.)
Public property Source Gets or sets a reference to the object that raised the event. (Inherited from RoutedEventArgs.)
Public property StylusDevice Gets the stylus device associated with this event. (Inherited from MouseEventArgs.)
Public property Timestamp Gets the time when this event occurred. (Inherited from InputEventArgs.)
Public property XButton1 Gets the current state of the first extended mouse button. (Inherited from MouseEventArgs.)
Public property XButton2 Gets the state of the second extended mouse button. (Inherited from MouseEventArgs.)
Top
Show:
© 2014 Microsoft