Back to Devexpress

TickmarkOptions.Offset Property

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

latest1.8 KB
Original Source

TickmarkOptions.Offset Property

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

Namespace : DevExpress.Xpf.Gauges

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

NuGet Package : DevExpress.Wpf.Gauges

Declaration

csharp
public double Offset { get; set; }
vb
Public Property Offset As Double

Property Value

TypeDescription
Double

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

|

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>

See Also

TickmarkOptions Class

TickmarkOptions Members

DevExpress.Xpf.Gauges Namespace