MouseMiddleButtonUp Event (MainGrid)
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.

PropertyDescription
Gets the state of the button associated with the event.  
Gets the button associated with the event.  
Gets the number of times the button was clicked.  
Gets the input device that initiated this event. (Inherited from System.Windows.Input.InputEventArgs)
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 )
Gets the current state of the left mouse button. (Inherited from )
Gets the current state of the middle mouse button. (Inherited from )
Gets the mouse device associated with this event. (Inherited from )
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 )
Gets the current state of the right mouse button. (Inherited from )
Gets or sets the System.Windows.RoutedEventArgs.RoutedEvent associated with this System.Windows.RoutedEventArgs instance. (Inherited from )
Gets or sets a reference to the object that raised the event. (Inherited from )
Gets the stylus device associated with this event. (Inherited from )
Gets the time when this event occurred. (Inherited from )
Gets the current state of the first extended mouse button. (Inherited from )
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