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)

public:
property double Offset {
	double get();
	void set(double value);
}

Property Value

Type: System::Double

The offset for the dash sequence. The default is 0.

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.

Identifier field

OffsetProperty

Metadata properties set to true

None

.NET Framework
Available since 3.0
Return to top
Show: