PathFigure.IsClosed Property

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 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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2015 Microsoft