Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
PathFigureCollection
Run
Collapse the table of content
Expand the table of content

PathFigureCollection

Silverlight

Represents a collection of PathFigure objects that collectively make up the geometry of a PathGeometry object.

<PathFigureCollection ...>
  oneOrMorePathFigures
</PathFigureCollection>

Value

Description

oneOrMorePathFigures

One or more PathFigure object elements.

The Figures property uses PathFigureCollection to store PathFigure information.

PathFigureCollection defines no methods or properties beyond the basic Collection methods and properties. Methods such as Add or GetItem will expect or return objects that are of type PathFigure.

The XAML syntax for properties that use a PathFigureCollection is an example of implicit collection syntax, in which you can omit an actual PathFigureCollection object element, as well as the <PathGeometry.Figures> property element. Explicitly including a PathFigureCollection 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.

For more information on basic concepts, see Geometries. Note that the Geometries topic is written primarily for users of the managed API, and may not have code examples or specific information that address the JavaScript API scenarios.

Community Additions

ADD
Show:
© 2015 Microsoft