Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 1.67 KB

pathfigurecollection.md

File metadata and controls

39 lines (28 loc) · 1.67 KB
-api-id -api-type
T:Microsoft.UI.Xaml.Media.PathFigureCollection
winrt class

Microsoft.UI.Xaml.Media.PathFigureCollection

-description

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

-xaml-syntax

<object>
  <object.property>
    oneOrMorePathFigures
  </object.property>
</object>
- or -
<object property="drawingCommands" ...>

-remarks

Enumerating the collection in C# or Microsoft Visual Basic

A PathFigureCollection is enumerable, so you can use language-specific syntax such as foreach in C# to enumerate the items in the collection. The compiler does the type-casting for you and you won't need to cast to IEnumerable<PathFigure> explicitly. If you do need to cast explicitly, for example if you want to call GetEnumerator, cast to IEnumerable with a PathFigure constraint.

-examples

-see-also

IVector<T>, IIterable<T>, IList