Skip to main content
A newer version of this page is available. .

TickmarkOptions.Offset Property

Gets or sets the offset of tickmarks shown on a scale.

Namespace: DevExpress.Xpf.Gauges

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Gauges, DevExpress.Wpf.Gauges

Declaration

public double Offset { get; set; }

Property Value

Type Description
Double

A Double value that specifies the tickmark position on a scale.

Property Paths

You can access this nested property as listed below:

Object Type Path to Offset
ArcScale
LinearScale
Scale

Example

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

View Example

<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>
See Also