Skip to main content

BaseRange.ShapeOffset Property

Gets or sets the offset of the range’s most distant edge from the scale arc.

Namespace: DevExpress.XtraGauges.Core.Model

Assembly: DevExpress.XtraGauges.v24.1.Core.dll

NuGet Package: DevExpress.Gauges.Core

Declaration

[XtraSerializableProperty]
public float ShapeOffset { get; set; }

Property Value

Type Description
Single

The offset of the range’s most distant edge from the scale arc, in relative coordinates.

Remarks

The ShapeOffset property’s values are measured from the scale arc, in relative coordinates. The value of 0 means that the range object is positioned directly on the arc scale. If a negative value is assigned, the range object is moved inwards. If a positive value is assigned, the range object is moved outwards.

See Coordinate System, to learn about relative coordinates.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShapeOffset property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also