Partager via


IsClosed

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

<object IsClosed="Boolean"  .../>
value = object.IsClosed
object.IsClosed = value

Property Value

Type: Boolean

true if this figure's first and last segments are connected; otherwise, false.

This property is read/write. The default value is false.

Managed Equivalent

IsClosed

Remarks

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

Applies To

PathFigure

See Also

Reference