Export (0) Print
Expand All
Key
M11
M12
M21
M22
Tag
Uri
X1
X2
Y1
Y2
Expand Minimize

Figures

Silverlight

Gets or sets the collection of PathFigure objects that describe the path's contents.

<PathGeometry>
  oneOrMorePathFigures
</PathGeometry>
value = object.Figures
object.Figures = value

Value

Description

oneOrMorePathFigures

One or more PathFigure object elements.

Type: PathFigureCollection

A collection of PathFigure objects that describe the path's contents. Each PathFigure describes a shape.

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

The XAML syntax for the Figures property is an example of an implicit collection syntax, where you can omit the PathFigureCollection object element and the <PathGeometry.Figures> property element. Instead, you generally include one or more PathFigure object elements as child elements of a PathGeometry. 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. Including the PathGeometry.Figures property element might also be useful for markup clarity, because of the nested figures and segment collections found in a typical complex PathGeometry.

Community Additions

ADD
Show:
© 2014 Microsoft