RangeBase.StartValue Property

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

Namespace: DevExpress.Xpf.Gauges

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

Declaration

public RangeValue StartValue { get; set; }
Public Property StartValue As RangeValue

Property Value

Type Description
RangeValue

A RangeValue object that allows setting the start position of the range in either absolute or relative units.

Remarks

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

RangeValue is a complex object that allows you to set the 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 as 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%" />

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

The table below illustrates this behavior.

StartValue is less than EndValue StartValue is greater than EndValue
Range_EndValue greater StartValue Range_StartValue greater EndValue
See Also