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
[Expand]ASP.NET Core Bootstrap Controls
[Collapse]WPF Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]MVVM Framework
 [Expand]Controls and Libraries
 [Expand]Scaffolding Wizard
 [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.DXBinding
  [Expand]DevExpress.Xpf.Editors
  [Expand]DevExpress.Xpf.Editors.DateNavigator
  [Expand]DevExpress.Xpf.Editors.ExpressionEditor
  [Expand]DevExpress.Xpf.Editors.ExpressionEditor.Native
  [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
  [Expand]DevExpress.Xpf.ExpressionEditor
  [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
   [Collapse]MinorTickmarkOptions Class
     MinorTickmarkOptions Members
     MinorTickmarkOptions Constructor
    [Collapse]MinorTickmarkOptions Properties
      ShowTicksForMajor Property
      ZIndex Property
   [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
   [Expand]Scale Class
   [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
  [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.RichEdit.Menu
  [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.Scheduling
  [Expand]DevExpress.Xpf.Scheduling.Editors
  [Expand]DevExpress.Xpf.Scheduling.Reporting
  [Expand]DevExpress.Xpf.Scheduling.Visual
  [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.Internal
  [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]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

MinorTickmarkOptions.ShowTicksForMajor Property

Gets or sets a value indicating whether or not minor tickmarks should be visible at the positions of the corresponding major tickmarks.

Namespace:DevExpress.Xpf.Gauges
Assembly:DevExpress.Xpf.Gauges.v17.2.dll

Expanded Syntax

Property value

Type: Boolean
true to display minor tickmarks at the major tickmark positions; otherwise false.

Expanded Remarks

Usually major and minor tickmarks are alternately displayed on a scale and therefore, there is no need to show minor tickmarks at the major tickmark position. So, the ShowTicksForMajor property is set to false by default.

But in some cases, you may need to display both major and minor tickmarks for the same value (e.g. if major tickmarks aren't hidden or if the TickmarkOptions.Offset property for major tickmarks differs from the corresponding property for minor tickmarks). In such situations, you are required to show minor tickmarks at the major tickmarks position. To achieve this, set the ShowTicksForMajor property to true.

The following images illustrate the ShowTicksForMajor property behavior.

ShowTicksForMajor = False

ShowTicksForMajor = True

Expanded See Also

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