Show / Hide Table of Contents

Class InputBinding

Implements binding between Input Gesture and command

Inheritance
System.Object
DependencyObject
Freezable
InputBinding
GamepadBinding
KeyBinding
MouseBinding
Implements
ICommandSource
Inherited Members
Freezable.IsFrozen
Freezable.Parent
Freezable.Changed
Freezable.Freeze()
Freezable.OnPropertyChanged(DependencyProperty)
DependencyObject.DependencyObjectType
DependencyObject.IsSealed
DependencyObject.Equals(Object)
DependencyObject.GetHashCode()
DependencyObject.ClearValue(DependencyProperty)
DependencyObject.GetValue(DependencyProperty)
DependencyObject.ReadLocalValue(DependencyProperty)
DependencyObject.GetLocalValueEnumerator()
DependencyObject.SetValue(DependencyProperty, Object)
DependencyObject.CoerceValue(DependencyProperty)
DependencyObject.SetBinding(DependencyProperty, Binding)
DependencyObject.SetResourceReference(DependencyProperty, Object)
Namespace: EmptyKeys.UserInterface.Input
Assembly: EmptyKeys.UserInterface.dll
Syntax
public class InputBinding : Freezable, ICommandSource

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 gesture)
Parameters
Type Name Description
ICommand command

The command.

InputGesture gesture

The gesture.

Fields

CommandParameterProperty

The command parameter property

Declaration
public static readonly DependencyProperty CommandParameterProperty
Field Value
Type Description
DependencyProperty

CommandProperty

The command property

Declaration
public static readonly DependencyProperty CommandProperty
Field Value
Type Description
DependencyProperty

IsRepeatEnabledProperty

The is repeat enabled property

Declaration
public static readonly DependencyProperty IsRepeatEnabledProperty
Field Value
Type Description
DependencyProperty

Properties

Command

Gets the command.

Declaration
public ICommand Command { get; set; }
Property Value
Type Description
ICommand

The command.

CommandParameter

Gets the command parameter.

Declaration
public object CommandParameter { get; set; }
Property Value
Type Description
System.Object

The command parameter.

Gesture

Gets or sets the gesture.

Declaration
public virtual InputGesture Gesture { get; set; }
Property Value
Type Description
InputGesture

The gesture.

IsRepeatEnabled

Gets or sets a value indicating whether this instance is repeat enabled.

Declaration
public bool IsRepeatEnabled { get; set; }
Property Value
Type Description
System.Boolean

true if this instance is repeat enabled; otherwise, false.

Implements

ICommandSource
Back to top Generated by DocFX