AutomationElement.AutomationElementInformation.AcceleratorKey Property


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

 property System::String ^ AcceleratorKey { System::String ^ get(); };
public string AcceleratorKey { get; }
member this.AcceleratorKey : string
Public ReadOnly Property AcceleratorKey As String

Property Value

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


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