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

VisualElement.Contains

切换到手册
public bool Contains (Experimental.UIElements.VisualElement child);

描述

如果元素是此 VisualElement 的直接子级,则返回 true