Class InputBinding
Represents a binding between an InputGesture and a command. The command is potentially a RoutedCommand.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.dll
Syntax
public class InputBinding : DependencyObject, ICommandSource
Constructors
InputBinding()
InputBinding(ICommand, InputGesture)
Initializes a new instance of the InputBinding class.
Declaration
public InputBinding(ICommand command, InputGesture inputGesture)
Parameters
System.Windows.Input.ICommand
command
The command. |
InputGesture
inputGesture
The input gesture. |
Properties
Command
Gets the command that will be executed when the command source is invoked.
Declaration
public ICommand Command { get; set; }
Property Value
System.Windows.Input.ICommand
|
Implements
CommandParameter
Represents a user defined data value that can be passed to the command when it is executed.
Declaration
public object CommandParameter { get; set; }
Property Value
System.Object
|
Implements
CommandTarget
The object that the command is being executed on.
Declaration
public UIElement CommandTarget { get; set; }
Property Value
System.Windows.UIElement
|
Implements
Gesture
Gets or sets the InputGesture associated with this input binding.
Declaration
public virtual InputGesture Gesture { get; set; }
Property Value
InputGesture
The gesture. |