GetLastLogicalChild(ILogical) Method

Definition

Assembly HeadlessTestingFramework.dll

Gets the last logical child of a specific type.

public static T? GetLastLogicalChild<T>(this ILogical logical)
    where T : class

Type parameters

T
The type of child to get.

Parameters

logical
Avalonia.LogicalTree.ILogical

The parent logical.

Returns

{T}
The last child of the specified type, or null if not found.