corelibraries-devexpress-dot-xtragauges-dot-core-dot-model-dot-baserange-92e56b53.md
Gets or sets the absolute end value of the range.
Namespace : DevExpress.XtraGauges.Core.Model
Assembly : DevExpress.XtraGauges.v25.2.Core.dll
NuGet Package : DevExpress.Gauges.Core
[DefaultValue(1F)]
public float EndValue { get; set; }
<DefaultValue(1F)>
Public Property EndValue As Single
| Type | Default | Description |
|---|---|---|
| Single | 1 |
A Single value that specifies the absolute end value of the range.
|
To specifiy the start value, use the BaseRange.StartValue property.
For ScaleRange objects and their descendants, you can specify bounds for a range as a percentage, rather than an absolute value. 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 EndValue 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#L93
range1.StartValue = 0;
range1.EndValue = 20;
web-forms-dashboard-gauge-ranges/CS/Default.aspx.cs#L62
range.StartValue = customRange.startValue;
range.EndValue = customRange.endValue;
range.AppearanceRange.ContentBrush = new SolidBrushObject(ColorTranslator.FromHtml(customRange.color));
reporting-wpf-advanced-gauge-customization/VB/MainWindow.xaml.vb#L80
range1.StartValue = 0
range1.EndValue = 20
Dim range2 As LinearScaleRange = New LinearScaleRange()
See Also