MouseGesture Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the MouseGesture class.
Overloads
MouseGesture() |
Initializes a new instance of the MouseGesture class. |
MouseGesture(MouseAction) |
Initializes a new instance of the MouseGesture class using the specified MouseAction. |
MouseGesture(MouseAction, ModifierKeys) |
Initializes a new instance of the MouseGesture class using the specified MouseAction and ModifierKeys. |
MouseGesture()
Initializes a new instance of the MouseGesture class.
public:
MouseGesture();
public MouseGesture ();
Public Sub New ()
See also
Applies to
MouseGesture(MouseAction)
Initializes a new instance of the MouseGesture class using the specified MouseAction.
public:
MouseGesture(System::Windows::Input::MouseAction mouseAction);
public MouseGesture (System.Windows.Input.MouseAction mouseAction);
new System.Windows.Input.MouseGesture : System.Windows.Input.MouseAction -> System.Windows.Input.MouseGesture
Public Sub New (mouseAction As MouseAction)
Parameters
- mouseAction
- MouseAction
The action associated with this gesture.
Exceptions
mouseAction
is not a valid MouseAction value.
See also
Applies to
MouseGesture(MouseAction, ModifierKeys)
Initializes a new instance of the MouseGesture class using the specified MouseAction and ModifierKeys.
public:
MouseGesture(System::Windows::Input::MouseAction mouseAction, System::Windows::Input::ModifierKeys modifiers);
public MouseGesture (System.Windows.Input.MouseAction mouseAction, System.Windows.Input.ModifierKeys modifiers);
new System.Windows.Input.MouseGesture : System.Windows.Input.MouseAction * System.Windows.Input.ModifierKeys -> System.Windows.Input.MouseGesture
Public Sub New (mouseAction As MouseAction, modifiers As ModifierKeys)
Parameters
- mouseAction
- MouseAction
The action associated with this gesture.
- modifiers
- ModifierKeys
The modifiers associated with this gesture.