PathFigure.IsClosed Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets a value that indicates whether this figure's first and last segments are connected.

Namespace: System.Windows.Media
Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.


Public Property IsClosed As Boolean
public bool IsClosed { get; set; }
<PathFigure IsClosed="bool"/>

Property Value

Type: System..::.Boolean
true if the first and last segments of the figure are connected; otherwise, false. The default is false.


Dependency property identifier field: IsClosedProperty

Setting this property to true connects the first segment (and the StartPoint of the PathFigure) to the final point of the last segment defined in the Segments collection.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0


Windows Phone

See Also


PathFigure Class

System.Windows.Media Namespace