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

VisualElement.GetFirstAncestorOfType

Cambiar al Manual
public T GetFirstAncestorOfType ();

Descripción

Walks up the hierarchy, starting from this element's parent, and returns the first VisualElement of this type