Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MouseGesture::MouseAction Property

 

Gets or sets the MouseAction associated with this gesture.

Namespace:   System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

public:
property MouseAction MouseAction {
	MouseAction get();
	void set(MouseAction value);
}

Property Value

Type: System.Windows.Input::MouseAction

The mouse action associated with this gesture. The default value is None.

Unlike a KeyGesture, a MouseAction does not have to be paired with ModifierKeys in order to be a valid MouseGesture.

The following example shows to create a MouseGesture and associate it with a RoutedCommand through a MouseBinding.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft