MindFusion.Wpf Pack Programmer's Guide
BaseScale.Ranges Property
See Also
 





Gets or sets a collection with the ranges displayed in the scale. This is a dependency property.

Namespace: MindFusion.Gauges.Wpf
Assembly: MindFusion.Gauges.Wpf

 Syntax

C#  Copy Code

public ObservableCollection<Range> Ranges { get; set; }

Visual Basic  Copy Code

Public Property Ranges As ObservableCollection(Of Range)

 Property Value

An observable collection of Range objects.

 Remarks

The following XAML code defines an OvalScale with a single range in it. The gauges XAML namespace is defined as http://mindfusion.eu/gauges/.

XAML  Copy Code

<gauges:OvalScale>
  <gauges:OvalScale.Ranges>
    <gauges:Range MinValue="20" MaxValue="50" Fill="Red" />
  </gauges:OvalScale.Ranges>
</gauges:OvalScale>

 See Also

BaseScale Members
BaseScale Class
MindFusion.Gauges.Wpf Namespace