MouseGesture Constructors

Definition

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

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

Parameters

mouseAction
MouseAction

The action associated with this gesture.

Exceptions

mouseAction is not a valid MouseAction value.

See also

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

Parameters

mouseAction
MouseAction

The action associated with this gesture.

modifiers
ModifierKeys

The modifiers associated with this gesture.

Exceptions

mouseAction is not a valid MouseAction value

-or-

modifiers is not a valid ModifierKeys value.

See also

Applies to