FindDisabled(Visual) Method

Definition

Assembly HeadlessTestingFramework.dll

Finds all disabled controls of a specific type.

public static IEnumerable<T> FindDisabled<T>(this Visual root)
    where T : InputElement

Type parameters

T
The type of controls to find.

Parameters

root
Avalonia.Visual

The root visual to search from.

Returns

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