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

VisualElement.GetFirstOfType

切换到手册
public T GetFirstOfType ();

描述

从此元素开始向上访问层级视图,返回第一个此类型的 VisualElement