Skip to main content

RangeValue Struct

Stores one of the range values.

Namespace: DevExpress.Xpf.Gauges

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

NuGet Package: DevExpress.Wpf.Gauges

Declaration

public struct RangeValue

The following members return RangeValue objects:

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 RangeValue.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