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.v24.1.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

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the MajorIntervalCount property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also