corelibraries-devexpress-dot-xtragauges-dot-core-dot-model-dot-baserange.md
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
[DefaultValue(0F)]
public float StartValue { get; set; }
<DefaultValue(0F)>
Public Property StartValue As Single
| Type | Default | Description |
|---|---|---|
| Single | 0 |
A Single value that specifies the absolute start value of the range.
|
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
range1.AppearanceRange.ContentBrush = new SolidBrushObject(Color.Green);
range1.StartValue = 0;
range1.EndValue = 20;
web-forms-dashboard-gauge-ranges/CS/Default.aspx.cs#L61
range.ShapeOffset = -10;
range.StartValue = customRange.startValue;
range.EndValue = customRange.endValue;
reporting-wpf-advanced-gauge-customization/VB/MainWindow.xaml.vb#L79
range1.AppearanceRange.ContentBrush = New SolidBrushObject(Color.Green)
range1.StartValue = 0
range1.EndValue = 20
See Also