AutomationProperties.AcceleratorKey Attached Property
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.
Gets or sets a string containing the accelerator key (also called shortcut key) combinations for the automation element.
see GetAcceleratorKey, and SetAcceleratorKey
see GetAcceleratorKey, and SetAcceleratorKey
see GetAcceleratorKey, and SetAcceleratorKey
Remarks
Shortcut key combinations invoke an action. For example, CTRL+O is often used to invoke the Open file common dialog box. An automation element that has the AcceleratorKey
property can implement the Invoke control pattern for the action that is equivalent to the shortcut command.
- Type: string
- Identifier field: AcceleratorKeyProperty
- Accessor methods: GetAcceleratorKey, SetAcceleratorKey