Class MouseGesture
Defines a mouse input gesture that can be used to invoke a command.
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.dll
Syntax
public class MouseGesture : InputGesture
Constructors
MouseGesture()
MouseGesture(MouseAction)
Initializes a new instance of the MouseGesture class.
Declaration
public MouseGesture(MouseAction mouseAction)
Parameters
MouseAction
mouseAction
The mouse action. |
MouseGesture(MouseAction, ModifierKeys)
Initializes a new instance of the MouseGesture class.
Declaration
public MouseGesture(MouseAction mouseAction, ModifierKeys modifiers)
Parameters
MouseAction
mouseAction
The mouse action. |
System.Windows.Input.ModifierKeys
modifiers
The modifiers. |
Properties
Modifiers
Gets or sets the modifier keys associated with this MouseGesture.
Declaration
public ModifierKeys Modifiers { get; set; }
Property Value
System.Windows.Input.ModifierKeys
ModifierKeys. |
MouseAction
Gets or sets the MouseAction associated with this gesture.
Declaration
public MouseAction MouseAction { get; set; }
Property Value
MouseAction
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.
Declaration
public override bool Matches(object targetElement, RoutedEventArgs inputEventArgs)
Parameters
System.Object
targetElement
The target element. |
System.Windows.RoutedEventArgs
inputEventArgs
The System.Windows.RoutedEventArgs instance containing the event data. |
Returns
System.Boolean
|