Represents an interval with associated custom values for fill, stroke and stroke thickness.
Namespace: MindFusion.Gauges.Wpf
Assembly: MindFusion.Gauges.Wpf
C# Copy Code |
---|
public class CustomInterval : DependencyObject, INotifyPropertyChanged |
Visual Basic Copy Code |
---|
Public Class CustomInterval |
The custom interval is defined by its MinValue and MaxValue properties. The property values provided by the custom interval to the elements within it are Fill, Stroke and StrokeThickness. Certain custom interval containers associate additional properties with the custom intervals through the use of attached properties. For example the Indicator class provides an ActiveColor property which is used for the glow effect of the indicator.
The following XAML code defines a custom interval, which sets the background of all elements in the range [10..20] it to Red.
XAML Copy Code |
---|
<g:CustomInterval MinValue="15" MaxValue="20" Fill="Red" /> |
System.Object
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
MindFusion.Gauges.Wpf.CustomInterval