Class MouseBinding
Binds a MouseGesture to a RoutedCommand (or another ICommand implementation).
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.dll
Syntax
public class MouseBinding : InputBinding, ICommandSource
Constructors
MouseBinding()
MouseBinding(ICommand, MouseGesture)
Initializes a new instance of the MouseBinding class.
Declaration
public MouseBinding(ICommand command, MouseGesture gesture)
Parameters
System.Windows.Input.ICommand
command
The command. |
MouseGesture
gesture
The gesture. |
Properties
Gesture
Gets or sets the InputGesture associated with this input binding.
Declaration
public override InputGesture Gesture { get; set; }
Property Value
InputGesture
The gesture. |
Overrides
MouseAction
Gets or sets the MouseAction associated with this MouseBinding.
Declaration
public MouseAction MouseAction { get; set; }
Property Value
MouseAction
The mouse action. |