VisualElement.Children

Declaration

public IEnumerable<VisualElement> Children();

Description

Returns the elements from its contentContainer.

The elements returned by this method are the logical children of the element. This might differ from the physical children of the element if the element's contentContainer property doesn't return the element itself. For more information, refer to VisualElement.contentContainer.

To access the physical children of the element, use VisualElement.Hierarchy.Children.

Additional resources: VisualElement.contentContainer, VisualElement.hierarchy


Did you find this page useful? Please give it a rating: