MindFusion.Wpf Pack Programmer's Guide
TickSettings.CustomIntervals Property
See Also
 





Gets or sets a collection with CustomInterval objects, which can be used to customize the appearance of the ticks in a particular interval. This is a dependency property.

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

 Syntax

C#  Copy Code

public CustomIntervalCollection CustomIntervals { get; set; }

Visual Basic  Copy Code

Public Property CustomIntervals As CustomIntervalCollection

 Property Value

An instance of the CustomIntervalCollection class.

 Remarks

The custom intervals can be used to give specific appearance to the ticks within a particular range.

 Example

The following example defines a linear scale. The major ticks of the scale in the range [60..100] are filled with a Red brush.

XAML  Copy Code

<gauges:LinearScale>
  <gauges:LinearScale.MajorTickSettings>
    <gauges:TickSettings>
      <gauges:TickSettings.CustomIntervals>
        <gauges:CustomInterval MinValue="60" Fill="Red" />
      </gauges:TickSettings.CustomIntervals>
    </gauges:TickSettings>
  </gauges:LinearScale.MajorTickSettings>
</gauges:LinearScale>

 See Also

TickSettings Members
TickSettings Class
MindFusion.Gauges.Wpf Namespace