VisualElement.Hierarchy.IndexOf

Declaration

public int IndexOf(UIElements.VisualElement element);

Parameters

element The element to return the index for.

Returns

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

Description

Retrieves the index of the specified VisualElement in the Hierarchy.


Did you find this page useful? Please give it a rating: