Skip to main content

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.v23.2.dll

NuGet Package: DevExpress.Wpf.Gauges

Declaration

public int MajorIntervalCount { get; set; }

Property Value

Type Description
Int32

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

Remarks

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