GetAcceleratorKey Method
Gets the accelerator key combinations for the element that is associated with the UI Automation peer.
Definition
Namespace: Avalonia.Automation.Peers
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public string? GetAcceleratorKey()
Public Function GetAcceleratorKey As String
member GetAcceleratorKey : unit -> string
Return Value
StringRemarks
An accelerator key (sometimes called a shortcut key) exposes a key combination for which can be used to invoke an action, for example, an "Open..." menu item on Windows often has an accelerator key of "Ctrl+O".
Windows | UIA_AcceleratorKeyPropertyId |
macOS | No mapping |