Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

Scale.ShowMinorTickmarks Property

Gets or sets whether the minor tickmarks should be visible on a scale or not.

Namespace: DevExpress.Xpf.Gauges

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

NuGet Package: DevExpress.Wpf.Gauges

#Declaration

public DefaultBoolean ShowMinorTickmarks { get; set; }

#Property Value

Type Description
DefaultBoolean

A DefaultBoolean enumeration value that specifies the visibility of minor tickmarks on a scale.

Available values:

Name Description Return Value
True

The value is true.

0

False

The value is false.

1

Default

The value is specified by a global option or a higher-level object.

2

#Remarks

Set the ShowMinorTickmarks property value to either DefaultBoolean.True or DefaultBoolean.False to control the visibility of minor tickmarks on a Circular or Linear scale.

Note that by default, the ShowMinorTickmarks property is set to DefaultBoolean.Default. This means that the visibility of minor tickmarks is defined by the current model of a gauge control, set by the CircularGaugeControl.Model or LinearGaugeControl.Model properties.

The table below illustrates the property behavior.

ShowMinorTickmarks = True ShowMinorTickmarks = False
Scale_ShowMajor(Minor) tickmarks-true Scale_ShowMinorTickmarks-false

For more information on minor tickmarks, refer to the tickmarks (Circular scale) and tickmarks (Linear scale) documents.

See Also