AutomationElement.AutomationElementInformation.AccessKey Property
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 a string containing the access key character for the element.
public:
property System::String ^ AccessKey { System::String ^ get(); };
public string AccessKey { get; }
member this.AccessKey : string
Public ReadOnly Property AccessKey As String
The character, associated with an element, that is used to activate that element.
An access key is a character in the text of a menu, menu item, or label of a control such as a button that activates the attached menu function. For example, the letter "O" is often used to invoke the Open file common dialog box from a File menu. UI Automation elements that have the access key property set always implement the InvokePattern class.
For more information, see AccessKeyProperty.
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, 10 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: