Прочитај на енглеском Уреди

Делите путем


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.

C#
public MouseGesture();

See also

Applies to

.NET Framework 4.8.1 и друге верзије
Производ Верзије
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

MouseGesture(MouseAction)

Initializes a new instance of the MouseGesture class using the specified MouseAction.

C#
public MouseGesture(System.Windows.Input.MouseAction mouseAction);

Parameters

mouseAction
MouseAction

The action associated with this gesture.

Exceptions

mouseAction is not a valid MouseAction value.

See also

Applies to

.NET Framework 4.8.1 и друге верзије
Производ Верзије
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

MouseGesture(MouseAction, ModifierKeys)

Initializes a new instance of the MouseGesture class using the specified MouseAction and ModifierKeys.

C#
public MouseGesture(System.Windows.Input.MouseAction mouseAction, System.Windows.Input.ModifierKeys modifiers);

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

.NET Framework 4.8.1 и друге верзије
Производ Верзије
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10