KeyBindings Element
The KeyBindings element groups KeyBinding elements and other KeyBindings groupings.
<KeyBindings>
<KeyBinding>... </KeyBinding>
<KeyBinding>... </KeyBinding>
</KeyBindings>
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
Attribute |
Description |
---|---|
Condition |
Optional. See VSCT XML Schema Conditional Attributes. |
Child Elements
Element |
Description |
---|---|
Specifies keyboard shortcuts for the commands. |
|
Groups KeyBinding elements and other KeyBindings groupings. |
Parent Elements
Element |
Description |
---|---|
Defines all the elements that represent commands. |
Example
<KeyBindings>
<KeyBinding guid="guidWidgetPackage" id="cmdidUpdateWidget"
editor="guidWidgetEditor" key1="VK_F5"/>
<KeyBinding guid="guidWidgetPackage" id="cmdidRunWidget"
editor="guidWidgetEditor" key1="VK_F5" mod1="Control"/>
</KeyBindings>