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.UI.Xaml.Gauges

Assembly: DevExpress.UI.Xaml.Gauges.v18.2.dll


public bool ShowTicksForMajor { get; set; }
Public Property ShowTicksForMajor As Boolean

Property Value

Type Description

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


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.

See Also