Scale.MajorIntervalCount Property

Gets or sets a value that specifies the number of intervals between major tickmarks on a scale.

Namespace: DevExpress.Xpf.Gauges

Assembly: DevExpress.Xpf.Gauges.v20.2.dll


public int MajorIntervalCount { get; set; }
Public Property MajorIntervalCount As Integer

Property Value

Type Description

A Int32 value that is the number of intervals between major tickmarks' on a scale.


Use the MajorIntervalCount and Scale.MinorIntervalCount properties to specify the intervals between major and minor tickmarks on a scale. Note that this property also affects the number of labels positioned near the major tickmarks on a scale.

The following images illustrate the property behavior for a Circular Scale:

MajorIntervalCount = 4 MajorIntervalCount = 6 MajorIntervalCount = 12
Scale_MajorIntervalCount_4 Scale_MajorIntervalCount Scale_MajorIntervalCount_12
See Also