Show / Hide Table of Contents

Class GamepadBinding

Implements binding for Game Pad input and Input Gesture

Inheritance
System.Object
DependencyObject
Freezable
InputBinding
GamepadBinding
Implements
ICommandSource
Inherited Members
InputBinding.CommandProperty
InputBinding.Command
InputBinding.CommandParameterProperty
InputBinding.CommandParameter
InputBinding.IsRepeatEnabledProperty
InputBinding.IsRepeatEnabled
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 GamepadBinding : InputBinding, ICommandSource

Constructors

GamepadBinding()

Initializes a new instance of the GamepadBinding class.

Declaration
public GamepadBinding()

GamepadBinding(ICommand, GamepadGesture)

Initializes a new instance of the GamepadBinding class.

Declaration
public GamepadBinding(ICommand command, GamepadGesture gesture)
Parameters
Type Name Description
ICommand command

The command.

GamepadGesture gesture

The gesture.

GamepadBinding(ICommand, GamepadInput)

Initializes a new instance of the GamepadBinding class.

Declaration
public GamepadBinding(ICommand command, GamepadInput input)
Parameters
Type Name Description
ICommand command

The command.

GamepadInput input

The input.

Fields

GamepadInputProperty

The input property

Declaration
public static readonly DependencyProperty GamepadInputProperty
Field Value
Type Description
DependencyProperty

Properties

GamepadInput

Gets or sets the input.

Declaration
public GamepadInput GamepadInput { get; set; }
Property Value
Type Description
GamepadInput

The input.

Gesture

Gets or sets the gesture.

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

The gesture.

Overrides
InputBinding.Gesture
Exceptions
Type Condition
System.ArgumentException

Wrong Input Gesture type. Expected GamepadGesture.

Implements

ICommandSource
Back to top Generated by DocFX