Represents a collection of objects.
The managed API uses multiple collection types. The most common one used in Silverlight programming, at least for UI-specific tasks, is PresentationFrameworkCollection<T>.
To obtain a collection in Silverlight, you get certain property values that reference the object that represents the collection. In some cases, these property values are read-only. A read-only collection property implies that the object that owns the collection defines the collection when it is created. You cannot replace that collection with a new collection object, but you can adjust the collection contents. To adjust the collection contents, get the collection property value, use it as an object reference, and call Collection methods on it.
For collection properties that are read/write, you can replace the collection. For example, if you use the CreateFromXaml method, and you want to replace all the items in an existing collection, you can declare the collection as the root element for the XAML you submit to CreateFromXaml. You can then set the collection property to the CreateFromXaml return value.
You can access the child objects of a parent object (the object that holds the relevant collection property) by using the methods of the Collection object. The most common collection used for this purpose is the VisualCollection that is the value of the Children (Panel) property.