Back to Devexpress

MinorTickmarkOptions Class

wpf-devexpress-dot-xpf-dot-gauges-ece4af7c.md

latest3.6 KB
Original Source

MinorTickmarkOptions Class

Contains settings that define the layout and behavior of the minor tickmarks along the scale.

Namespace : DevExpress.Xpf.Gauges

Assembly : DevExpress.Xpf.Gauges.v25.2.dll

NuGet Package : DevExpress.Wpf.Gauges

Declaration

csharp
public class MinorTickmarkOptions :
    TickmarkOptions
vb
Public Class MinorTickmarkOptions
    Inherits TickmarkOptions

The following members return MinorTickmarkOptions objects:

Remarks

The options provided by a MinorTickmarkOptions instance can be accessed via the Scale.MinorTickmarkOptions property of a Scale object.

To define the layout of the minor tickmarks, use the MinorTickmarkOptions.ZIndex, TickmarkOptions.Offset, TickmarkOptions.FactorThickness and TickmarkOptions.FactorLength properties.

The behavior of the minor tickmarks is set by the MinorTickmarkOptions.ShowTicksForMajor property.

For more information on minor tickmarks, refer to the Tickmarks (Circular Scale) and Tickmarks (Linear Scale) documents.

Example

This example demonstrates how to customize the tickmarks on a Circular scale.

View Example

xaml
<dxga:ArcScale.TickmarksPresentation>
    <dxga:SmartTickmarksPresentation 
        MajorTickBrush="#FF7C8295" MinorTickBrush="#FF7C8295" />
</dxga:ArcScale.TickmarksPresentation>
<dxga:ArcScale.MajorTickmarkOptions>
    <dxga:MajorTickmarkOptions Offset="-2" />
</dxga:ArcScale.MajorTickmarkOptions>
<dxga:ArcScale.MinorTickmarkOptions>
    <dxga:MinorTickmarkOptions Offset="-2" />
</dxga:ArcScale.MinorTickmarkOptions>

Inheritance

Object DispatcherObject DependencyObject Freezable GaugeDependencyObject TickmarkOptions MinorTickmarkOptions

See Also

MinorTickmarkOptions Members

Tickmarks

Tickmarks

DevExpress.Xpf.Gauges Namespace