Shape.StrokeDashOffset Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
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)
XMLNS for XAML: Not mapped to an xmlns.
Syntax
Public Property StrokeDashOffset As Double
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.
Remarks
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.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0
Platforms
Windows Phone