Skip to main content

GetAccessKey Method

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

Definition​

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

public static string? GetAccessKey(
StyledElement element
)

Parameters​

  StyledElement
 

Return Value​

String

See Also​

Reference​

AutomationProperties Class
Avalonia.Automation Namespace