MouseBinding::MouseAction Property
.NET Framework (current version)
Gets or sets the MouseAction associated with this MouseBinding.
Assembly: PresentationCore (in PresentationCore.dll)
Unlike a KeyGesture, a MouseGesture does not need to be associated with a modifier key. So a MouseAction by itself, such as MiddleClick, can be a valid MouseGesture.
The following example shows how to create a binding between a MouseAction and a RoutedCommand.
<MouseBinding MouseAction="MiddleClick" Command="ApplicationCommands.Cut" />
.NET Framework
Available since 3.0
Available since 3.0
Show: