AutomationElement.AutomationElementInformation.AcceleratorKey Property

Definition

Gets a string containing the accelerator key combinations for the element.

C#
public string AcceleratorKey { get; }

Property Value

The sequence of key combinations that invoke an action associated with the element.

Remarks

Accelerator key combinations invoke an action. For example, CTRL + O is often used to invoke the File Open dialog box. UI Automation elements that have the accelerator key property set always implement the InvokePattern class.

For more information, see AcceleratorKeyProperty.

Applies to

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9