Export (0) Print
Expand All

StrokeThickness Property

Gets or sets the width of the Shape outline.

XAML
<object StrokeThickness="Double" .../>
Scripting
value = object.strokeThickness
object.strokeThickness = value

Property Value

Double

The width of the Shape outline.

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

Remarks

StrokeThickness also applies to the various stroke decorations such as StrokeStartLineCap, or the StrokeDashArray Property dash pattern if any.

Applies To

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

See Also

Shapes and Drawing in Silverlight Overview

Community Additions

Show:
© 2014 Microsoft