Back to Devexpress

BaseRange.EndValue Property

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

latest3.5 KB
Original Source

BaseRange.EndValue Property

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

Declaration

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

Property Value

TypeDefaultDescription
Single1

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

|

Remarks

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

csharp
range1.StartValue = 0;
range1.EndValue = 20;

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

csharp
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

vb
range1.StartValue = 0
range1.EndValue = 20
Dim range2 As LinearScaleRange = New LinearScaleRange()

See Also

StartValue

StartPercent

EndPercent

BaseRange Class

BaseRange Members

DevExpress.XtraGauges.Core.Model Namespace