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

VisualElement.IndexOf

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

Parámetros

elementThe child to return the index for.

Valor de retorno

int Returns the index of the child, or -1 if the child is not found.

Descripción

Retrieves the child index of the specified VisualElement.