Specifies constants that define actions performed by the mouse.
public enum class MouseAction
<object property="enumerationMemberName" .../>
|None||No action. |
|LeftClick||A left mouse button click.|
|RightClick||A right mouse button click. |
|MiddleClick||A middle mouse button click.|
|WheelClick||A mouse wheel rotation. |
|LeftDoubleClick||A left mouse button double-click.|
|RightDoubleClick||A right mouse button double-click.|
|MiddleDoubleClick||A middle mouse button double-click.|
The MouseAction enumeration specifies constants which correspond to actions performed by the mouse, such as RightClick and RightDoubleClick.
MouseAction can be used with a MouseGesture to create a input gesture which can be bound to a command using a MouseBinding. For more information about commanding, see the Commanding Overview.
The following example shows how to construct a MouseGesture using a MouseAction and how to bind the gesture to a RoutedCommand using a MouseBinding.
No code example is currently available or this language may not be supported.
Supported in: 4, 3.5, 3.0
.NET Framework Client Profile
Supported in: 4, 3.5 SP1
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
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.