Children (GeometryGroup)
Key
M11
M12
M21
M22
Tag
Uri
X1
X2
Y1
Y2
TOC
Collapse the table of content
Expand the table of content

Children (GeometryGroup)

Silverlight

Gets or sets the collection of child Geometry objects.

<GeometryGroup>
  oneOrMoreGeometries
</GeometryGroup>
value = object.Children
object.Children = value

Value

Description

oneOrMoreGeometries

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

Type: GeometryCollection

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

Community Additions

ADD
Show:
© 2016 Microsoft