GetLogicalChildren(ILogical) Method

Definition

Assembly HeadlessTestingFramework.dll

Gets the direct logical children of a specific type.

public static IEnumerable<T> GetLogicalChildren<T>(this ILogical logical)
    where T : class

Type parameters

T
The type of children to get.

Parameters

logical
Avalonia.LogicalTree.ILogical

The parent logical.

Returns

IEnumerable<T>
Direct children of the specified type.