Back to Devexpress

MarkerOptionsBase.Offset Property

wpf-devexpress-dot-xpf-dot-gauges-dot-markeroptionsbase-6d5436fe.md

latest2.1 KB
Original Source

MarkerOptionsBase.Offset Property

Gets or sets the offset specifying a marker’s position on a scale.

Namespace : DevExpress.Xpf.Gauges

Assembly : DevExpress.Xpf.Gauges.v25.2.dll

NuGet Package : DevExpress.Wpf.Gauges

Declaration

csharp
public double Offset { get; set; }
vb
Public Property Offset As Double

Property Value

TypeDescription
Double

A Double value that specifies the marker’s offset.

|

Remarks

Use the Offset property, if you need to customize the position of the marker with respect to other elements of a scale. Note that the Offset property behavior is different of Circular scale markers and Linear scale markers.

For the Circular scale, the positive value of the Offset property moves a marker out of the scale, while a negative value moves a marker inside the scale towards to the center. A zero value of the Offset property means the marker is positioned on the edge of the Circular scale.

The following image illustrates the property behavior.

In case of the Linear scale, increasing the Offset property’s value moves a marker to the right, while decreasing Offset moves it to the left.

The image below shows this behavior.

See Also

MarkerOptionsBase Class

MarkerOptionsBase Members

DevExpress.Xpf.Gauges Namespace