<accelerator>

This element defines an individual keyboard accelerator.

Attribute Value
accelerator keys String, accelerator keys="0x00460005"
GUID String, guid="{1F91F841-F612-46D4-A453-4B81096121A9}"

Examples

Several examples are provided below.

  1. The following example shows how to define a <keyboard> element. The accelerator keys attribute cannot be set by hand. The GUID attribute must match the command to which the accelerator is assigned.
    <accelerator keys="0x00460005" guid="{1F91F841-F612-46D4-A453-4B81096121A9}"/>
  2. The following example shows how to define a <keyboard> element and <accelerator>.
    <keyboard>
       <accelerator keys="0x00460005" guid="{1F91F841-F612-46D4-A453-4B81096121A9}"/>
    </keyboard>