Skip to main content
A newer version of this page is available. .

BaseRangeBar.AnchorValue Property

Gets or sets the start value of the range.

Namespace: DevExpress.XtraGauges.Core.Model

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

Declaration

[DefaultValue(0F)]
[XtraSerializableProperty]
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