Class InputBinding
- Namespace
- HelixToolkit.Avalonia.SharpDX
- Assembly
- HelixToolkit.Avalonia.SharpDX.dll
Binds a InputGesture to an ICommand implementation.
public class InputBinding : AvaloniaObject, INotifyPropertyChanged
- Inheritance
-
AvaloniaObjectInputBinding
- Implements
- Derived
- Inherited Members
-
AvaloniaObject.CheckAccess()AvaloniaObject.VerifyAccess()AvaloniaObject.ClearValue(AvaloniaProperty)AvaloniaObject.ClearValue<T>(AvaloniaProperty<T>)AvaloniaObject.ClearValue<T>(StyledProperty<T>)AvaloniaObject.ClearValue<T>(DirectPropertyBase<T>)AvaloniaObject.GetHashCode()AvaloniaObject.GetValue(AvaloniaProperty)AvaloniaObject.GetValue<T>(StyledProperty<T>)AvaloniaObject.GetValue<T>(DirectPropertyBase<T>)AvaloniaObject.GetBaseValue<T>(StyledProperty<T>)AvaloniaObject.IsAnimating(AvaloniaProperty)AvaloniaObject.IsSet(AvaloniaProperty)AvaloniaObject.SetValue<T>(StyledProperty<T>, T, BindingPriority)AvaloniaObject.SetValue<T>(DirectPropertyBase<T>, T)AvaloniaObject.SetCurrentValue<T>(StyledProperty<T>, T)AvaloniaObject.Bind(AvaloniaProperty, IBinding)AvaloniaObject.CoerceValue(AvaloniaProperty)AvaloniaObject.OnPropertyChangedCore(AvaloniaPropertyChangedEventArgs)AvaloniaObject.OnPropertyChanged(AvaloniaPropertyChangedEventArgs)AvaloniaObject.RaisePropertyChanged<T>(DirectPropertyBase<T>, T, T)AvaloniaObject.SetAndRaise<T>(DirectPropertyBase<T>, ref T, T)AvaloniaObject.InheritanceParentAvaloniaObject.this[AvaloniaProperty]AvaloniaObject.this[IndexerDescriptor]AvaloniaObject.PropertyChanged
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 StyledProperty<object?> CommandParameterProperty
Field Value
- StyledProperty<object>
CommandProperty
Dependency Property for Command property
public static readonly StyledProperty<ICommand?> CommandProperty
Field Value
- StyledProperty<ICommand>
CommandTargetProperty
Dependency property for command target
public static readonly StyledProperty<object?> CommandTargetProperty
Field Value
- StyledProperty<object>
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 object? CommandTarget { get; set; }
Property Value
Gesture
public virtual InputGesture? Gesture { get; set; }