Export (0) Print
Expand All

MouseEventArgs Properties

The MouseEventArgs type exposes the following members.

  NameDescription
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.
Public property MiddleButton Gets the current state of the middle mouse button.
Public property MouseDevice Gets the mouse device associated with this event.
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.
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.
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.
Public property XButton2 Gets the state of the second extended mouse button.
Top

Community Additions

ADD
Show:
© 2014 Microsoft