CommandManager::RegisterClassInputBinding Method (Type^, InputBinding^)
.NET Framework (current version)
Registers the specified InputBinding with the specified type.
Assembly: PresentationCore (in PresentationCore.dll)
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
Available since 3.0
Show: