public int IndexOf (UIElements.VisualElement element);

Parámetros

elementThe element to return the index for.

Valor de retorno

int The index of the element, or -1 if the element is not found.

Descripción

Retrieves the index of the specified VisualElement in the Hierarchy.