Skip to main content

GetChildIndex Method

Gets child's actual index in order of the original source.

Definition​

Namespace: Avalonia.LogicalTree
Assembly: Avalonia.Base (in Avalonia.Base.dll)

int GetChildIndex(
ILogical child
)
View Source

Parameters​

  ILogical
Logical child.

Return Value​

Int32
Index or -1 if child was not found.

See Also​

Reference​

IChildIndexProvider Interface
Avalonia.LogicalTree Namespace