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.

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

Community Additions

Show:
© 2015 Microsoft