Export (0) Print
Expand All

MouseButtonEventArgs Members

Provides data for mouse button related events.

The MouseButtonEventArgs type exposes the following members.

  NameDescription
Public method MouseButtonEventArgs Overloaded. Initializes a new instance of the MouseButtonEventArgs class.
Top

  NameDescription
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetPosition Returns the position of the mouse pointer relative to the specified element. (Inherited from MouseEventArgs.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method InvokeEventHandler Invokes event handlers in a type-specific way, which can increase event system efficiency. (Overrides MouseEventArgs.InvokeEventHandler(Delegate, Object).)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnSetSource When overridden in a derived class, provides a notification callback entry point whenever the value of the Source property of an instance changes. (Inherited from RoutedEventArgs.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
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

Community Additions

ADD
Show:
© 2014 Microsoft