Back to Devexpress

BaseRange.StartValue Property

corelibraries-devexpress-dot-xtragauges-dot-core-dot-model-dot-baserange.md

latest3.5 KB
Original Source

BaseRange.StartValue Property

Gets or sets the absolute start value of the range.

Namespace : DevExpress.XtraGauges.Core.Model

Assembly : DevExpress.XtraGauges.v25.2.Core.dll

NuGet Package : DevExpress.Gauges.Core

Declaration

csharp
[DefaultValue(0F)]
public float StartValue { get; set; }
vb
<DefaultValue(0F)>
Public Property StartValue As Single

Property Value

TypeDefaultDescription
Single0

A Single value that specifies the absolute start value of the range.

|

Remarks

To specify the end value, use the BaseRange.EndValue property.

For ScaleRange objects and their descendants, you can specify bounds for a range as percentages, rather than in absolute values. This can be accomplished via the ScaleRange.StartPercent and ScaleRange.EndPercent properties.

The following code snippets (auto-collected from DevExpress Examples) contain references to the StartValue property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

reporting-wpf-advanced-gauge-customization/CS/MainWindow.xaml.cs#L92

csharp
range1.AppearanceRange.ContentBrush = new SolidBrushObject(Color.Green);
range1.StartValue = 0;
range1.EndValue = 20;

web-forms-dashboard-gauge-ranges/CS/Default.aspx.cs#L61

csharp
range.ShapeOffset = -10;
range.StartValue = customRange.startValue;
range.EndValue = customRange.endValue;

reporting-wpf-advanced-gauge-customization/VB/MainWindow.xaml.vb#L79

vb
range1.AppearanceRange.ContentBrush = New SolidBrushObject(Color.Green)
range1.StartValue = 0
range1.EndValue = 20

See Also

EndValue

StartPercent

EndPercent

BaseRange Class

BaseRange Members

DevExpress.XtraGauges.Core.Model Namespace