Skip to main content

VisualRoot Property

Gets the root of the visual tree, if the control is attached to a visual tree.

Definition​

Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)

protected IRenderRoot? VisualRoot { get; }

Property Value​

IRenderRoot

See Also​

Reference​

Visual Class
Avalonia Namespace