Experimental: this API is experimental and might be changed or removed in the future.

VisualElement.Hierarchy.IndexOf

Cambiar al Manual
public int IndexOf (Experimental.UIElements.VisualElement element);

Parámetros

elementThe element to return the index for.

Valor de retorno

int Returns 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.