PathGeometry.Figures Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the collection of PathFigure objects that describe the contents of a path.
Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.
<PathGeometry> <PathGeometry.Figures> oneOrMoreFigures </PathGeometry.Figures> </PathGeometry>
<PathGeometry Figures="moveAndDrawCommands"/>
XAML Values
Property Value
Type: System.Windows.Media.PathFigureCollectionA collection of PathFigure objects that describe the contents of a path. Each individual PathFigure describes a shape.
Dependency property identifier field: FiguresProperty
The XAML syntax for Figures is an example of an implicit collection syntax, where you can omit the 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 for Windows Phone 8.
Note: |
|---|
Explicitly including a PathFigureCollection object element is permissible XAML syntax, and it might be useful if you intend to name the collection in XAML and manipulate its contents through script later. Including the PathGeometry.Figures property element might also be useful for markup clarity, because of the nested Figures and Segments collections found in a typical complex PathGeometry. |
Note: