CommandManager::RegisterClassInputBinding Method (Type^, InputBinding^)

 

Registers the specified InputBinding with the specified type.

Namespace:   System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

public:
static void RegisterClassInputBinding(
	Type^ type,
	InputBinding^ inputBinding
)

Parameters

type
Type: System::Type^

The type to register inputBinding with.

inputBinding
Type: System.Windows.Input::InputBinding^

The input binding to register.

Exception Condition
ArgumentNullException

type or inputBinding is null.

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

.NET Framework
Available since 3.0
Return to top
Show: