AutomationPeerGetName Method

Gets text that describes the element that is associated with this automation peer.

Definition

Namespace: Avalonia.Automation.Peers
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public string GetName()

Return Value

String

Remarks

WindowsUIA_NamePropertyId (not yet implemented)
macOS When the control type is Text, this value is exposed by both NSAccessibilityProtocol.accessibilityTitle and NSAccessibilityProtocol.accessibilityValue .

See Also