Bewerken

Delen via


AutomationElement.AutomationElementInformation.AcceleratorKey Property

Definition

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

public:
 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.

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