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)
- C#
- VB
- F#
public string GetName()
Public Function GetName As String
member GetName : unit -> string
Return Value
StringRemarks
Windows | UIA_NamePropertyId (not yet implemented) |
macOS | When the control type is Text, this value is exposed by both NSAccessibilityProtocol.accessibilityTitle and NSAccessibilityProtocol.accessibilityValue . |