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

VisualElement.Hierarchy.Clear

切换到手册
public void Clear ();

描述

从此元素的 contentContainer 中删除所有子元素