Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

StrokeDashCap Property

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


A values of the PenLineCap enumeration that specifies the caps.

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


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

Community Additions

© 2015 Microsoft