Back to Devexpress

Scale.TickmarksPresentation Property

wpf-devexpress-dot-xpf-dot-gauges-dot-scale-797f3a33.md

latest2.0 KB
Original Source

Scale.TickmarksPresentation Property

Returns whether the current presentation of scale tickmarks is circular or linear.

Namespace : DevExpress.Xpf.Gauges

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

NuGet Package : DevExpress.Wpf.Gauges

Declaration

csharp
public TickmarksPresentation TickmarksPresentation { get; set; }
vb
Public Property TickmarksPresentation As TickmarksPresentation

Property Value

TypeDescription
TickmarksPresentation

A TickmarksPresentation object.

|

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

Scale Class

Scale Members

DevExpress.Xpf.Gauges Namespace