The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Panel.Children Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the collection of child elements of the panel.

Namespace:  System.Windows.Controls
Assembly:  System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.

public UIElementCollection Children { get; }

XAML Values


One or more object elements for objects that derive from UIElement.

Property Value

Type: System.Windows.Controls.UIElementCollection
The collection of child objects. The default is an empty collection.

You can use implicit collection syntax in XAML to add items, or methods of the UIElementCollection in code to add items or otherwise adjust the existing collection.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone