MouseBinding Constructor (ICommand^, MouseGesture^)
.NET Framework (current version)
Initializes a new instance of the MouseBinding class, using the specified command and mouse gesture.
Assembly: PresentationCore (in PresentationCore.dll)
Parameters
- command
-
Type:
System.Windows.Input::ICommand^
The command associated with the gesture.
- gesture
-
Type:
System.Windows.Input::MouseGesture^
The gesture associated with the command.
The following example shows how to bind an ICommand with a MouseGesture using a MouseAction.
.NET Framework
Available since 3.0
Available since 3.0
Show: