GetLogicalSiblings(ILogical) Method

Definition

Assembly HeadlessTestingFramework.dll

Gets the logical siblings of a specific type (excluding self).

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

Type parameters

T
The type of siblings to get.

Parameters

logical
Avalonia.LogicalTree.ILogical

The logical element.

Returns

IEnumerable<T>
All siblings of the specified type excluding self.