.NET Framework Class Library for Silverlight
Panel..::.Children Property

Gets the collection of child elements of the panel.

Namespace:  System.Windows.Controls
Assembly:  System.Windows (in System.Windows.dll)
Syntax

Visual Basic (Declaration)
Public ReadOnly Property Children As UIElementCollection
    Get
Visual Basic (Usage)
Dim instance As Panel
Dim value As UIElementCollection

value = instance.Children
C#
public UIElementCollection Children { get; }
XAML Object Element Usage
<object>
  oneOrMoreUIElements
</object>

XAML Values

oneOrMoreUIElements

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.
Remarks

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.

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

See Also

Reference

Other Resources

Tags :


Page view tracker