MouseMiddleButtonUp Event (AnnotationBase)
Occurs when the middle mouse button is released while the mouse pointer is over a System.Windows.UIElement. However, this event will only be raised if a caller marks the preceding System.Windows.UIElement.MouseRightButtonDown event as handled; see Remarks.
Syntax
public event MouseButtonEventHandler MouseMiddleButtonUp
Event Data
The event handler receives an argument of type MouseButtonEventArgs containing data related to this event. The following MouseButtonEventArgs properties provide information specific to this event.
Property | Description |
---|---|
ButtonState | Gets the state of the button associated with the event. |
ChangedButton | Gets the button associated with the event. |
ClickCount | Gets the number of times the button was clicked. |
Device | Gets the input device that initiated this event. (Inherited from System.Windows.Input.InputEventArgs) |
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 ) |
LeftButton | Gets the current state of the left mouse button. (Inherited from ) |
MiddleButton | Gets the current state of the middle mouse button. (Inherited from ) |
MouseDevice | Gets the mouse device associated with this event. (Inherited from ) |
OriginalSource | Gets the original reporting source as determined by pure hit testing, before any possible System.Windows.RoutedEventArgs.Source adjustment by a parent class. (Inherited from ) |
RightButton | Gets the current state of the right mouse button. (Inherited from ) |
RoutedEvent | Gets or sets the System.Windows.RoutedEventArgs.RoutedEvent associated with this System.Windows.RoutedEventArgs instance. (Inherited from ) |
Source | Gets or sets a reference to the object that raised the event. (Inherited from ) |
StylusDevice | Gets the stylus device associated with this event. (Inherited from ) |
Timestamp | Gets the time when this event occurred. (Inherited from ) |
XButton1 | Gets the current state of the first extended mouse button. (Inherited from ) |
XButton2 | Gets the state of the second extended mouse button. (Inherited from ) |
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