GetAccessKey Method
Gets the access key for the element that is associated with the automation peer.
Definition
Namespace: Avalonia.Automation.Peers
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public string? GetAccessKey()
Public Function GetAccessKey As String
member GetAccessKey : unit -> string
Return Value
StringRemarks
An access key (sometimes called a mnemonic) is a character in the text of a menu, menu item, or label of a control such as a button, that activates the associated function. For example, to open the File menu, for which the access key is typically F, the user would press ALT+F.
Windows | UIA_AccessKeyPropertyId |
macOS | No mapping |