MindFusion.Wpf Pack Programmer's Guide
CustomInterval Class
Remarks See Also
 





Represents an interval with associated custom values for fill, stroke and stroke thickness.

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

 Syntax

C#  Copy Code

public class CustomInterval : DependencyObject, INotifyPropertyChanged

Visual Basic  Copy Code

Public Class CustomInterval
    Inherits DependencyObject
    Implements INotifyPropertyChanged

 Remarks

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.

 Example

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" />

 Inheritance Hierarchy

System.Object
    System.Windows.Threading.DispatcherObject
        System.Windows.DependencyObject
            MindFusion.Gauges.Wpf.CustomInterval

 See Also

CustomInterval Members
MindFusion.Gauges.Wpf Namespace