FindLogicalVisible(ILogical) Method

Definition

Assembly HeadlessTestingFramework.dll

Finds all visible controls of a specific type in the logical tree.

public static IEnumerable<T> FindLogicalVisible<T>(this ILogical root)
    where T : Visual

Type parameters

T
The type of controls to find.

Parameters

root
Avalonia.LogicalTree.ILogical

The root logical to search from.

Returns

IEnumerable<T>
All visible controls of the specified type.