Export (0) Print
Expand All

DashStyle.Offset Property

Gets or sets how far in the dash sequence the stroke will start.

Namespace:  System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

member Offset : float with get, set
<object Offset="double" .../>

Property Value

Type: System.Double
The offset for the dash sequence. The default is 0.

Identifier field

OffsetProperty

Metadata properties set to true

None

It is strongly recommended to use an offset value that resolves to the middle of any dash. This will make most strokes start and end in mid dash rather than at a gap.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft