Skip to main content

GetAcceleratorKey Method

Helper for reading the value of the AcceleratorKeyProperty on a StyledElement.

Definition​

Namespace: Avalonia.Automation
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public static string? GetAcceleratorKey(
StyledElement element
)

Parameters​

  StyledElement
 

Return Value​

String

See Also​

Reference​

AutomationProperties Class
Avalonia.Automation Namespace