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

RangeValue.Value Property

Returns the value that specifies either the start or end boundary of a range.

Namespace: DevExpress.Xpf.Gauges

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

NuGet Package: DevExpress.Wpf.Gauges

#Declaration

public double Value { get; }

#Property Value

Type Description
Double

A Double value that is used to store the range boundaries in either absolute or relative units.

#Remarks

RangeValue is a complex object that allows you to set the RangeBase.StartValue and RangeBase.EndValue properties in different units. The RangeValue.RangeValueType property defines how to treat the Value property - as either an absolute value or a percent.

The following XAML illustrates how to set this property for the range on the circular scale:

<dxga:ArcScaleRange StartValue="10" EndValue="40" />
<dxga:ArcScaleRange StartValue="25%" EndValue="75%" />
<dxga:ArcScaleRange StartValue="10" EndValue="75%" />

To identify whether the range is set in absolute or relative units, use the RangeValue.IsPercent and RangeValue.IsAbsolute properties.

See Also