GetChildren(Visual) Method

Definition

Assembly HeadlessTestingFramework.dll

Gets the direct children of a specific type.

public static IEnumerable<T> GetChildren<T>(this Visual visual)
    where T : class

Type parameters

T
The type of children to get.

Parameters

visual
Avalonia.Visual

The parent visual.

Returns

IEnumerable<T>
Direct children of the specified type.