Panel.Children Property

Definition

Gets the collection of child elements of the panel.

Equivalent WinUI property: Microsoft.UI.Xaml.Controls.Panel.Children.

public:
 property UIElementCollection ^ Children { UIElementCollection ^ get(); };
UIElementCollection Children();
public UIElementCollection Children { get; }
var uIElementCollection = panel.children;
Public ReadOnly Property Children As UIElementCollection
<panel>
  oneOrMoreUIElements
</panel>

Property Value

UIElementCollection

The collection of child objects. The default is an empty collection.

Applies to