Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

Shape.StrokeThickness Property

Gets or sets the width of the Shape stroke outline.

Namespace:  System.Windows.Shapes
Assembly:  System.Windows (in System.Windows.dll)
public double StrokeThickness { get; set; }
<object StrokeThickness="double"/>

Property Value

Type: System.Double
The width of the Shape outline, in pixels.
The default value is 0.

Dependency property identifier field: StrokeThicknessProperty

StrokeThickness also applies to the various stroke decorations if they are defined, such as StrokeStartLineCap, or the StrokeDashArray dash pattern.

Generally you should use integral numeric values for this property. Nonintegral values can cause subpixel rendering, and may alter the apparent color of the stroke.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.