Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Shape.StrokeDashOffset Property

Gets or sets a Double that specifies the distance within the dash pattern where a dash begins.

Namespace:  System.Windows.Shapes
Assembly:  System.Windows (in System.Windows.dll)
Public Property StrokeDashOffset As Double
<object StrokeDashOffset="double"/>

Property Value

Type: System.Double
A Double that represents the distance within the dash pattern where a dash begins. The default value is 0.

Dependency property identifier field: StrokeDashOffsetProperty

The dash pattern is also influenced by StrokeDashArray.

Generally you should use integral numeric values for this property. Non-integral values can cause sub-pixel rendering, and may alter the apparent color of the stroke. See Layout Rounding.


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

© 2014 Microsoft. All rights reserved.