GetRole(Control) Method

Definition

Assembly HeadlessTestingFramework.dll

Gets the ARIA role equivalent for an element.

public static string GetRole(Control element)

Parameters

element
Avalonia.Controls.Control

The element to query.

Returns

String
The ARIA role name.