Table of Contents

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

command ICommand
gesture InputGesture

Fields

CommandParameterProperty

Dependency Property for Command Parameter

public static readonly DependencyProperty CommandParameterProperty

Field Value

DependencyProperty

CommandProperty

Dependency Property for Command property

public static readonly DependencyProperty CommandProperty

Field Value

DependencyProperty

CommandTargetProperty

Dependency property for command target

public static readonly DependencyProperty CommandTargetProperty

Field Value

DependencyProperty

Properties

Command

Command Object associated

public ICommand? Command { get; set; }

Property Value

ICommand

CommandParameter

A parameter for the command.

public object? CommandParameter { get; set; }

Property Value

object

CommandTarget

Where the command should be raised.

public UIElement? CommandTarget { get; set; }

Property Value

UIElement

Gesture

public virtual InputGesture? Gesture { get; set; }

Property Value

InputGesture