CommandManager.RegisterClassInputBinding(Type, InputBinding) CommandManager.RegisterClassInputBinding(Type, InputBinding) CommandManager.RegisterClassInputBinding(Type, InputBinding) Method

Definition

Registers the specified InputBinding with the specified type.

public:
 static void RegisterClassInputBinding(Type ^ type, System::Windows::Input::InputBinding ^ inputBinding);
public static void RegisterClassInputBinding (Type type, System.Windows.Input.InputBinding inputBinding);
static member RegisterClassInputBinding : Type * System.Windows.Input.InputBinding -> unit

Parameters

type
Type Type Type

The type to register inputBinding with.

inputBinding
InputBinding InputBinding InputBinding

The input binding to register.

Exceptions

Remarks

This method enables an InputBinding to be associated with a type instead of an instance of a class.

Applies to