GetNextLogicalSibling(ILogical) Method

Definition

Assembly HeadlessTestingFramework.dll

Gets the next sibling of a specific type.

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

Type parameters

T
The type of sibling to find.

Parameters

logical
Avalonia.LogicalTree.ILogical

The logical element.

Returns

{T}
The next sibling of the specified type, or null if not found.