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 double StrokeDashOffset { get; set; }
<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.

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.

Community Additions

ADD
Show: