Back to Devexpress

RangeBase.EndValue Property

wpf-devexpress-dot-xpf-dot-gauges-dot-rangebase-e7c96830.md

latest2.7 KB
Original Source

RangeBase.EndValue Property

Gets or sets the end position of the range on a scale.

Namespace : DevExpress.Xpf.Gauges

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

NuGet Package : DevExpress.Wpf.Gauges

Declaration

csharp
public RangeValue EndValue { get; set; }
vb
Public Property EndValue As RangeValue

Property Value

TypeDescription
RangeValue

A RangeValue object that allows to set the end position of the range in absolute or relative units.

|

Remarks

Use the RangeBase.StartValue and EndValue properties to specify the position of the range on a scale.

RangeValue is a complex object that allows you to set the RangeBase.StartValue and EndValue properties in different units. The RangeValue.RangeValueType property defines how to treat the RangeValue.Value property - in absolute value or as 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%" />

Note that the EndValue can be either less than the StartValue or greater than the StartValue - both situations are correct.

The table below illustrates this behavior.

StartValue is less than EndValueStartValue is greater than EndValue

See Also

StartValue

RangeBase Class

RangeBase Members

DevExpress.Xpf.Gauges Namespace