Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Collapse]WPF Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]Controls and Libraries
 [Expand]Localization
  Redistribution and Deployment
  Get More Help
 [Collapse]API Reference
  [Expand]DevExpress.Charts.Designer
  [Expand]DevExpress.Mvvm.UI
  [Expand]DevExpress.Mvvm.UI.Interactivity
  [Expand]DevExpress.Mvvm.UI.ModuleInjection
  [Expand]DevExpress.Xpf.Accordion
  [Expand]DevExpress.Xpf.Bars
  [Expand]DevExpress.Xpf.Carousel
  [Expand]DevExpress.Xpf.Charts
  [Expand]DevExpress.Xpf.Charts.Localization
  [Expand]DevExpress.Xpf.Charts.RangeControlClient
  [Expand]DevExpress.Xpf.ChunkList
  [Expand]DevExpress.Xpf.Controls
  [Expand]DevExpress.Xpf.Core
  [Expand]DevExpress.Xpf.Core.ConditionalFormatting
  [Expand]DevExpress.Xpf.Core.DataSources
  [Expand]DevExpress.Xpf.Core.ServerMode
  [Expand]DevExpress.Xpf.Data
  [Expand]DevExpress.Xpf.DataAccess
  [Expand]DevExpress.Xpf.DataAccess.DataSourceWizard
  [Expand]DevExpress.Xpf.Diagram
  [Expand]DevExpress.Xpf.Docking
  [Expand]DevExpress.Xpf.Docking.Base
  [Expand]DevExpress.Xpf.DocumentViewer
  [Expand]DevExpress.Xpf.Editors
  [Expand]DevExpress.Xpf.Editors.DateNavigator
  [Expand]DevExpress.Xpf.Editors.ExpressionEditor
  [Expand]DevExpress.Xpf.Editors.Filtering
  [Expand]DevExpress.Xpf.Editors.Flyout
  [Expand]DevExpress.Xpf.Editors.Flyout.Native
  [Expand]DevExpress.Xpf.Editors.Helpers
  [Expand]DevExpress.Xpf.Editors.Popups
  [Expand]DevExpress.Xpf.Editors.RangeControl
  [Expand]DevExpress.Xpf.Editors.Settings
  [Expand]DevExpress.Xpf.Editors.Validation
  [Collapse]DevExpress.Xpf.Gauges
   [Expand]AnalogGaugeControl Class
   [Expand]AnimationBase Class
   [Expand]ArcScale Class
   [Expand]ArcScaleCollection Class
   [Expand]ArcScaleIndicator Class
   [Expand]ArcScaleIndicatorCollection<T> Class
   [Expand]ArcScaleLabelOptions Class
    ArcScaleLabelOrientation Enumeration
   [Expand]ArcScaleLayer Class
   [Expand]ArcScaleLayerCollection Class
   [Expand]ArcScaleLayerPresentation Class
    ArcScaleLayoutMode Enumeration
   [Expand]ArcScaleMarker Class
   [Expand]ArcScaleMarkerCollection Class
   [Expand]ArcScaleMarkerOptions Class
    ArcScaleMarkerOrientation Enumeration
   [Expand]ArcScaleMarkerPresentation Class
   [Expand]ArcScaleNeedle Class
   [Expand]ArcScaleNeedleCollection Class
   [Expand]ArcScaleNeedleOptions Class
   [Expand]ArcScaleNeedlePresentation Class
   [Expand]ArcScaleRange Class
   [Expand]ArcScaleRangeBar Class
   [Expand]ArcScaleRangeBarCollection Class
   [Expand]ArcScaleRangeBarOptions Class
   [Expand]ArcScaleRangeBarPresentation Class
   [Expand]ArcScaleRangeCollection Class
   [Expand]BlinkingAnimation Class
   [Expand]CircularGaugeControl Class
   [Expand]CircularGaugeHitInfo Class
   [Expand]CircularGaugeLayer Class
   [Expand]CircularGaugeLayerCollection Class
   [Expand]CircularGaugeLayerPresentation Class
   [Expand]CreepingLineAnimation Class
    CreepingLineAnimationCompletedEventHandler Delegate
    CreepingLineDirection Enumeration
   [Expand]DigitalGaugeControl Class
   [Expand]DigitalGaugeLayer Class
   [Expand]DigitalGaugeLayerCollection Class
   [Expand]DigitalGaugeLayerPresentation Class
   [Expand]DigitalGaugeModel Class
   [Expand]FourteenSegmentsModel Class
   [Expand]FourteenSegmentsPresentation Class
   [Expand]FourteenSegmentsView Class
   [Expand]GaugeControlBase Class
   [Expand]GaugeDependencyObject Class
   [Expand]GaugeDependencyObjectCollection<T> Class
   [Expand]GaugeDependencyObjectCollectionBase<T> Class
   [Expand]GaugeElement Class
   [Expand]GaugeElementCollection<T> Class
   [Expand]GaugeHitInfoBase Class
   [Expand]GaugeLayerBase Class
   [Expand]GaugeLayerCollection<T> Class
   [Expand]IndicatorAnimation Class
   [Expand]IndicatorEnterEventArgs Class
    IndicatorEnterEventHandler Delegate
   [Expand]IndicatorEnterLeaveEventArgs Class
   [Expand]IndicatorLeaveEventArgs Class
    IndicatorLeaveEventHandler Delegate
   [Expand]LayerBase Class
   [Expand]LayerCollection<T> Class
   [Expand]LayerOptions Class
   [Expand]LayerPresentation Class
   [Expand]LinearGaugeControl Class
   [Expand]LinearGaugeHitInfo Class
   [Expand]LinearGaugeLayer Class
   [Expand]LinearGaugeLayerCollection Class
   [Expand]LinearScale Class
   [Expand]LinearScaleCollection Class
   [Expand]LinearScaleIndicator Class
   [Expand]LinearScaleIndicatorCollection<T> Class
   [Expand]LinearScaleLabelOptions Class
    LinearScaleLabelOrientation Enumeration
   [Expand]LinearScaleLayer Class
   [Expand]LinearScaleLayerCollection Class
   [Expand]LinearScaleLayerPresentation Class
    LinearScaleLayoutMode Enumeration
   [Expand]LinearScaleLevelBar Class
   [Expand]LinearScaleLevelBarCollection Class
   [Expand]LinearScaleLevelBarOptions Class
   [Expand]LinearScaleLevelBarPresentation Class
   [Expand]LinearScaleMarker Class
   [Expand]LinearScaleMarkerCollection Class
   [Expand]LinearScaleMarkerOptions Class
    LinearScaleMarkerOrientation Enumeration
   [Expand]LinearScaleMarkerPresentation Class
   [Expand]LinearScaleRange Class
   [Expand]LinearScaleRangeBar Class
   [Expand]LinearScaleRangeBarCollection Class
   [Expand]LinearScaleRangeBarOptions Class
   [Expand]LinearScaleRangeCollection Class
   [Expand]MajorTickmarkOptions Class
   [Expand]MarkerOptionsBase Class
   [Expand]Matrix5x8Model Class
   [Expand]Matrix5x8Presentation Class
   [Expand]Matrix8x14Model Class
   [Expand]Matrix8x14Presentation Class
   [Expand]MatrixView Class
   [Expand]MatrixView5x8 Class
   [Expand]MatrixView8x14 Class
   [Expand]MinorTickmarkOptions Class
   [Expand]PredefinedDigitalGaugeLayerPresentation Class
   [Expand]PredefinedElementKind Class
   [Expand]PredefinedLinearScaleMarkerPresentation Class
   [Expand]PredefinedLinearScaleRangeBarPresentation Class
   [Expand]PresentationBase Class
   [Expand]RangeBarOptionsBase Class
   [Expand]RangeBase Class
   [Expand]RangeOptions Class
   [Expand]RangeValue Structure
    RangeValueType Enumeration
   [Collapse]Scale Class
     Scale Members
     Scale Constructor
    [Collapse]Scale Properties
      CustomElements Property
      CustomLabels Property
      EndValue Property
      LabelPresentation Property
      LineOptions Property
      MajorIntervalCount Property
      MajorTickmarkOptions Property
      MinorIntervalCount Property
      MinorTickmarkOptions Property
      PredefinedLabelPresentations Property
      PredefinedTickmarksPresentations Property
      ShowLabels Property
      ShowLine Property
      ShowMajorTickmarks Property
      ShowMinorTickmarks Property
      StartValue Property
      TickmarksPresentation Property
   [Expand]ScaleCollection<T> Class
   [Expand]ScaleCustomElement Class
   [Expand]ScaleCustomElementCollection Class
   [Expand]ScaleCustomLabel Class
   [Expand]ScaleCustomLabelCollection Class
   [Expand]ScaleLabelOptions Class
   [Expand]ScaleLayerBase Class
   [Expand]ScaleLineOptions Class
   [Expand]SegmentsView Class
   [Expand]SevenSegmentsModel Class
   [Expand]SevenSegmentsPresentation Class
   [Expand]SevenSegmentsView Class
   [Expand]SpindleCapOptions Class
   [Expand]SpindleCapPresentation Class
   [Expand]State Class
   [Expand]StateCollection Class
   [Expand]StateIndicatorControl Class
   [Expand]StateIndicatorModel Class
   [Expand]StateInfo Class
   [Expand]StatePresentation Class
   [Expand]StatesMask Structure
   [Expand]SymbolDictionary Class
   [Expand]SymbolLength Structure
    SymbolLengthType Enumeration
   [Expand]SymbolOptions Class
   [Expand]SymbolsAnimation Class
   [Expand]SymbolSegmentsMapping Class
    SymbolType Enumeration
   [Expand]SymbolViewBase Class
    TextDirection Enumeration
    TextHorizontalAlignment Enumeration
    TextVerticalAlignment Enumeration
   [Expand]TickmarkOptions Class
   [Expand]TickmarksPresentation Class
   [Expand]ValueChangedEventArgs Class
    ValueChangedEventHandler Delegate
   [Expand]ValueIndicatorBase Class
   [Expand]ValueIndicatorCollection<T> Class
   [Expand]ValueIndicatorPresentation Class
  [Expand]DevExpress.Xpf.Gauges.Localization
  [Expand]DevExpress.Xpf.Grid
  [Expand]DevExpress.Xpf.Grid.ConditionalFormatting
  [Expand]DevExpress.Xpf.Grid.LookUp
  [Expand]DevExpress.Xpf.Grid.TreeList
  [Expand]DevExpress.Xpf.Layout.Core
  [Expand]DevExpress.Xpf.LayoutControl
  [Expand]DevExpress.Xpf.Map
  [Expand]DevExpress.Xpf.NavBar
  [Expand]DevExpress.Xpf.Navigation
  [Expand]DevExpress.Xpf.PdfViewer
  [Expand]DevExpress.Xpf.PivotGrid
  [Expand]DevExpress.Xpf.PivotGrid.Printing
  [Expand]DevExpress.Xpf.Printing
  [Expand]DevExpress.Xpf.Printing.Parameters
  [Expand]DevExpress.Xpf.Printing.Parameters.Models
  [Expand]DevExpress.Xpf.Printing.PreviewControl.Bars
  [Expand]DevExpress.Xpf.Prism
  [Expand]DevExpress.Xpf.PropertyGrid
  [Expand]DevExpress.Xpf.Reports.UserDesigner
  [Expand]DevExpress.Xpf.Reports.UserDesigner.Extensions
  [Expand]DevExpress.Xpf.Reports.UserDesigner.Localization
  [Expand]DevExpress.Xpf.Reports.UserDesigner.ReportWizard
  [Expand]DevExpress.Xpf.Reports.UserDesigner.ReportWizard.Pages
  [Expand]DevExpress.Xpf.Ribbon
  [Expand]DevExpress.Xpf.RichEdit
  [Expand]DevExpress.Xpf.Scheduler
  [Expand]DevExpress.Xpf.Scheduler.Drawing
  [Expand]DevExpress.Xpf.Scheduler.Menu
  [Expand]DevExpress.Xpf.Scheduler.Reporting
  [Expand]DevExpress.Xpf.Scheduler.UI
  [Expand]DevExpress.Xpf.SpellChecker
  [Expand]DevExpress.Xpf.Spreadsheet
  [Expand]DevExpress.Xpf.Spreadsheet.Menu
  [Expand]DevExpress.Xpf.TreeMap
  [Expand]DevExpress.Xpf.Utils.Themes
  [Expand]DevExpress.Xpf.WindowsUI
  [Expand]DevExpress.Xpf.WindowsUI.Navigation
  [Expand]DevExpress.XtraRichEdit
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

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.v17.1.dll

Expanded Syntax

Property value

Type: DefaultBoolean
A DevExpress.Utils.DefaultBoolean enumeration value that specifies the visibility of major tickmarks on a scale.

Expanded Remarks

Set the ShowMajorTickmarks property value to either DevExpress.Utils.DefaultBoolean.True or DevExpress.Utils.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 DevExpress.Utils.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.

Expanded See Also

How would you rate this topic?​​​​​​​