public int IndexOf (UIElements.VisualElement element);

파라미터

elementThe element to return the index for.

반환

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

설명

Retrieves the index of the specified VisualElement in the Hierarchy.