GetPathFromRoot(Visual) Method

Definition

Assembly HeadlessTestingFramework.dll

Gets the path from root to the specified visual.

public static IReadOnlyList<Visual> GetPathFromRoot(this Visual visual)

Parameters

visual
Avalonia.Visual

The visual to get the path to.

Returns

IReadOnlyList<Visual>
The path as a list of visuals from root to the visual.