Skip to main content

GetVisualRoot Method

Gets the AutomationPeer that is the root of this AutomationPeer's visual tree.

Definition

Namespace: Avalonia.Automation.Peers
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public AutomationPeer? GetVisualRoot()

Return Value

AutomationPeer

Remarks

WindowsNo mapping, but used internally to translate coordinates.
macOSNSAccessibilityProtocol.accessibilityTopLevelUIElement

See Also

Reference

AutomationPeer Class
Avalonia.Automation.Peers Namespace