CommandManager.RegisterClassInputBinding(Type, InputBinding) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Public Shared Sub RegisterClassInputBinding (type As Type, inputBinding As InputBinding)
Parameters
- type
- Type
The type to register inputBinding
with.
- inputBinding
- InputBinding
The input binding to register.
Exceptions
type
or inputBinding
is null
.
Remarks
This method enables an InputBinding to be associated with a type instead of an instance of a class.
Applies to
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.