index property

int index
getter/setter pair

The index of this child in its parent's child list.

Used for ordering and tracking children during layout operations. A value of -1 typically indicates the child is not yet positioned.

Implementation

int index = -1;