Class InputBinding
- Namespace
- HelixToolkit.WinUI.SharpDX
- Assembly
- HelixToolkit.WinUI.SharpDX.dll
Binds a InputGesture to an ICommand implementation.
public class InputBinding : DependencyObject, IWinRTObject, IDynamicInterfaceCastable, IEquatable<DependencyObject>
- Inheritance
-
InputBinding
- Implements
-
IWinRTObject
- Derived
- Inherited Members
Constructors
InputBinding()
protected InputBinding()
InputBinding(ICommand, InputGesture)
public InputBinding(ICommand command, InputGesture gesture)
Parameters
commandICommandgestureInputGesture
Fields
CommandParameterProperty
Dependency Property for Command Parameter
public static readonly DependencyProperty CommandParameterProperty
Field Value
CommandProperty
Dependency Property for Command property
public static readonly DependencyProperty CommandProperty
Field Value
CommandTargetProperty
Dependency property for command target
public static readonly DependencyProperty CommandTargetProperty
Field Value
Properties
Command
Command Object associated
public ICommand? Command { get; set; }
Property Value
CommandParameter
A parameter for the command.
public object? CommandParameter { get; set; }
Property Value
CommandTarget
Where the command should be raised.
public UIElement? CommandTarget { get; set; }
Property Value
Gesture
public virtual InputGesture? Gesture { get; set; }