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

VisualElement.Hierarchy.childCount

切换到手册
public int childCount ;

描述

此对象的 contentContainer 中的子元素数