Share via


StrokeDashCap Property

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

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

Property Value

PenLineCap

A values of the PenLineCap enumeration that specifies the caps.

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

Remarks

This setting applies to both ends of each dash.

Applies To

Ellipse, Line, Path, Polygon, Polyline, Rectangle, Shape

See Also

Shapes and Drawing in Silverlight Overview