ClassInputBinding
Represents a binding between an InputGesture and a command. The command is potentially a RoutedCommand.
Definition
Namespace:Telerik.UI.Xaml.Controls
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public class InputBinding : DependencyObject, ICommandSource
Inheritance: objectInputBinding
Derived Classes:
Implements:
Constructors
InputBinding()
Initializes a new instance of the InputBinding class.
Declaration
protected InputBinding()
InputBinding(ICommand, InputGesture)
Initializes a new instance of the InputBinding class.
Declaration
public InputBinding(ICommand command, InputGesture inputGesture)
Parameters
command
The command.
inputGesture
The input gesture.
Properties
Command
Gets the command that will be executed when the command source is invoked.
Declaration
[TypeConverter(typeof(CommandConverter))]
public ICommand Command { get; set; }
Property Value
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
Implements
CommandTarget
The object that the command is being executed on.
Declaration
public UIElement CommandTarget { get; set; }
Property Value
UIElement
Implements
Gesture
Gets or sets the InputGesture associated with this input binding.
Declaration
public virtual InputGesture Gesture { get; set; }
Property Value
The gesture.