AcceleratorKey Property

AutomationElement::AutomationElementInformation::AcceleratorKey Property


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

Namespace:   System.Windows.Automation
Assembly:  UIAutomationClient (in UIAutomationClient.dll)

property String^ AcceleratorKey {
	String^ get();

Property Value

Type: System::String^

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.

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft