Scale.ShowMajorTickmarks Property
Gets or sets whether or not the major tickmarks should be visible on a scale.
Namespace: DevExpress.Xpf.Gauges
Assembly: DevExpress.Xpf.Gauges.v18.2.dll
Declaration
Property Value
Type | Description |
---|---|
DefaultBoolean | A DefaultBoolean enumeration value that specifies the visibility of major tickmarks on a scale. |
Available values:
Name | Description |
---|---|
True | Corresponds to a Boolean value of true. |
False | Corresponds to a Boolean value of false. |
Default | The value is determined by the current object’s parent object setting (e.g., a control setting). |
Remarks
Set the ShowMajorTickmarks property value to either DefaultBoolean.True or DefaultBoolean.False to control the visibility of major tickmarks on a Circular or Linear scale.
Note that by default, the ShowMajorTickmarks property is set to DefaultBoolean.Default. This means that the visibility of major 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.
ShowMajorTickmarks = True | ShowMajorTickmarks = False |
---|---|
For more information on major tickmarks, refer to the tickmarks (Circular scale) and tickmarks (Linear scale) documents.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowMajorTickmarks 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.