Back to Devexpress

RangeValue.Value Property

wpf-devexpress-dot-xpf-dot-gauges-dot-rangevalue-137877ae.md

latest2.4 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Gauges

Declaration

csharp
public double Value { get; }
vb
Public ReadOnly Property Value As Double

Property Value

TypeDescription
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:

xaml
<dxga:ArcScaleRange StartValue="10" EndValue="40" />
xaml
<dxga:ArcScaleRange StartValue="25%" EndValue="75%" />
xaml
<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

StartValue

EndValue

RangeValue Struct

RangeValue Members

DevExpress.Xpf.Gauges Namespace