PathFigureCollection Object
Represents a collection of PathFigure objects that collectively make up the geometry of a PathGeometry.
XAML |
<PathFigureCollection ...> oneOrMorePathFigures </PathFigureCollection> |
Scripting |
To create an object using scripting, see CreateFromXAML.
|
XAML Values
oneOrMorePathFigures | One or more PathFigure object elements. |
Properties
Methods
Add, Clear, Equals, FindName, GetHost, GetItem, GetValue, Insert, Remove, RemoveAt, SetValue
Remarks
PathFigureCollection is used by the Figures property 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 an implicit collection syntax, where you can omit an actual PathFigureCollection object element, as well as the <PathGeometry.Figures> property element. Instead, you generally include one or more PathFigure object elements as child elements of a PathGeometry. For more information about XAML implicit collection syntax, see XAML Syntax Overview. (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.)