GetLogicalSiblingIndex(ILogical) Method

Definition

Assembly HeadlessTestingFramework.dll

Gets the index of this logical among its siblings.

public static int GetLogicalSiblingIndex(this ILogical logical)

Parameters

logical
Avalonia.LogicalTree.ILogical

The logical element.

Returns

Int32
The index, or -1 if no parent.