Partilhar via


StrokeDashCap

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

Gets or sets a PenLineCap enumeration value that specifies how the ends of a dash are drawn.

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

Property Value

Type: PenLineCap

One of the enumeration values (flat, square, round, or triangle) that specifies the caps.

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

Managed Equivalent

StrokeDashCap

Remarks

This setting applies to both ends of each dash.

See Also

Reference