Table of Contents
TicksDisplay Property

Gets or sets a value that indicates whether to show major or minor tick marks. This is a dependency property.

Syntax
 public TicksDisplay TicksDisplay { get; set; }

Property Value

One of the TicksDisplay enumeration values. The the default is Major.

Remarks

A TickBarBase can be used to display either major or minor ticks, but not both. In order to display both major and minor ticks, you must use two TickBarBase control.

When this property is set to Minor, it generates minor ticks at MinorInterval but skips at MajorInterval. This is necessary so that you can stack major and minor ticks together without having both major and minor ticks at the same spot.

For example, for the following LinearTickBar:

XML
<eo:LinearTickBar MajorInterval="5" MinorInterval="1" TicksDisplay="Minor">
</eo:LinearTickBar>

It will display ticks at 1, 2, 3, 4, 6, 7, 8, 9, but skip 0, 5, 10.

Because of this, if you specify the same value for MajorInterval and MinorInterval, then it will not display any minor ticks because all the tick points will be considered major thus be skipped.

See Also