Gets or sets a collection of CustomInterval objects, which define various states for the indicator. This is a dependency property.
Namespace: MindFusion.Gauges.Wpf
Assembly: MindFusion.Gauges.Wpf
C# Copy Code |
---|
public CustomIntervalCollection States { get; set; } |
Visual Basic Copy Code |
---|
Public Property States As CustomIntervalCollection |
An instance of the CustomIntervalCollection class.
To define new states for the indicator, create new CustomInterval objects, set their range through their MinValue and MaxValue properties, and add them to this collection.
The following example illustrates how to create several states for an indicator through XAML:
XAML Copy Code |
---|
<gauges:Indicator> |