Find(Visual) Method

Definition

Assembly HeadlessTestingFramework.dll

Creates a ControlFinder for the specified root and immediately filters by type.

public static ControlFinder Find<T>(this Visual root)
    where T : class

Type parameters

T
The type to filter by.

Parameters

root
Avalonia.Visual

The root visual to search from.

Returns

ControlFinder
A new ControlFinder instance with type filter applied.