Back to Devexpress

Scale.MajorIntervalCount Property

wpf-devexpress-dot-xpf-dot-gauges-dot-scale-fe7a2da2.md

latest2.0 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Gauges

Declaration

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

Property Value

TypeDescription
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 = 4MajorIntervalCount = 6MajorIntervalCount = 12

See Also

MinorIntervalCount

Scale Class

Scale Members

DevExpress.Xpf.Gauges Namespace