Children Property (GeometryGroup)

Gets or sets the collection of child Geometry objects.

value = object.Children
object.Children = value

XAML Values

oneOrMoreGeometries One or more object elements that derive from Geometry. These can be one or more of the following: EllipseGeometry, GeometryGroup, LineGeometry, PathGeometry, RectangleGeometry.

Property Value


The collection of child Geometry objects.

This property is read/write. The default value is an empty collection.


The XAML syntax for Children is an example of an implicit collection syntax, where you can omit the GeometryCollection object element, as well as the <GeometryGroup.Children> property element. Instead, you generally include one or more Geometry-type object elements (EllipseGeometry, GeometryGroup, LineGeometry, PathGeometry, or RectangleGeometry) as child elements of a GeometryGroup Object. For more information about XAML implicit collection syntax, see XAML Syntax Overview. (Explicitly including a GeometryCollection object element is permissible XAML syntax, and might be useful if you intend to name the collection in XAML and manipulate its contents through script later.)

Applies To


See Also

Silverlight Geometries Overview

Community Additions