Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
Silverlight 3
Panel Class
Panel Properties
 Children Property

  Switch on low bandwidth view
This page is specific to
Microsoft Silverlight 3

Other versions are also available for the following:
.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)
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.

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.

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

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker