Partager via


StrokeEndLineCap

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

Gets or sets a value that describes the shape at the end of a line.

<object StrokeEndLineCap="PenLineCap"  .../>
value = object.StrokeEndLineCap
object.StrokeEndLineCap = value

Property Value

Type: PenLineCap

One of the enumeration values (flat, square, round, or triangle) that describes the end cap shape.

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

Managed Equivalent

StrokeEndLineCap

Remarks

This property has no effect if you set it on a shape that has no Stroke or that has no discrete start or end points. For example, this property has no effect if you set it on an Ellipse, which is always a closed stroke.