ClassMouseGesture
Defines a mouse input gesture that can be used to invoke a command.
Definition
Namespace:Telerik.UI.Xaml.Controls
Assembly:Telerik.WinUI.Controls.dll
Syntax:
[TypeConverter(typeof(MouseGestureConverter))]
public class MouseGesture : InputGesture
Inheritance: objectInputGestureMouseGesture
Constructors
MouseGesture()
Initializes a new instance of the MouseGesture class.
Declaration
public MouseGesture()
MouseGesture(MouseAction)
Initializes a new instance of the MouseGesture class.
Declaration
public MouseGesture(MouseAction mouseAction)
Parameters
mouseAction
The mouse action.
MouseGesture(MouseAction, VirtualKeyModifiers)
Initializes a new instance of the MouseGesture class.
Declaration
public MouseGesture(MouseAction mouseAction, VirtualKeyModifiers modifiers)
Parameters
mouseAction
The mouse action.
modifiers
VirtualKeyModifiers
The modifiers.
Properties
Modifiers
Gets or sets the modifier keys associated with this MouseGesture.
Declaration
public VirtualKeyModifiers Modifiers { get; set; }
Property Value
VirtualKeyModifiers
ModifierKeys.
MouseAction
Gets or sets the MouseAction associated with this gesture.
Declaration
public MouseAction MouseAction { get; set; }
Property Value
MouseAction.
Methods
Matches(object, RoutedEventArgs)
When overridden in a derived class, determines whether the specified InputGesture matches the input associated with the specified InputEventArgs object.