Skip to main content

GetName 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)

public string GetName()

Return Value

String

Remarks

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

See Also

Reference

AutomationPeer Class
Avalonia.Automation.Peers Namespace