Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RangeOptions.Offset Property

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

Namespace: DevExpress.Xpf.Gauges

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

NuGet Package: DevExpress.Wpf.Gauges

#Declaration

public double Offset { get; set; }

#Property Value

Type Description
Double

A Double value that specifies the range’s offset.

#Property Paths

You can access this nested property as listed below:

Object Type Path to Offset
RangeBase
.Options .Offset

#Remarks

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

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

The following image illustrates the property behavior.

Offset_Circular

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

The image below shows this behavior.

Offset_Linear

See Also