AutomationPeerGetAutomationId Method

Gets the automation ID of the element that is associated with the UI Automation peer.

Definition

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

Return Value

String

Remarks

WindowsUIA_AutomationIdPropertyId
macOSNSAccessibilityProtocol.accessibilityIdentifier

See Also