Skip to main content

BaseRangeBar.AnchorValue Property

Gets or sets the start value of the range.

Namespace: DevExpress.XtraGauges.Core.Model

Assembly: DevExpress.XtraGauges.v22.2.Core.dll

NuGet Package: DevExpress.Gauges.Core

Declaration

[DefaultValue(0F)]
public float AnchorValue { get; set; }

Property Value

Type Default Description
Single 0

The start value of the range.

Remarks

The range bar’s start value is specified by the AnchorValue property. By default, the end value is specified by the scale’s current value (ArcScale.Value or LinearScale.Value). To specify a custom end value, call the BaseRangeBar.LockValue method.

Arc Scale Linear Scale
ArcScaleRangeBar_AnchorValue LinearScaleRangeBar_AnchorValue

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AnchorValue 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