Back to Devexpress

IMinorTickmark.ShowTick Property

corelibraries-devexpress-dot-xtragauges-dot-core-dot-model-dot-iminortickmark.md

latest2.6 KB
Original Source

IMinorTickmark.ShowTick Property

Gets or sets whether the tickmarks are visible.

Namespace : DevExpress.XtraGauges.Core.Model

Assembly : DevExpress.XtraGauges.v25.2.Core.dll

NuGet Package : DevExpress.Gauges.Core

Declaration

csharp
bool ShowTick { get; set; }
vb
Property ShowTick As Boolean

Property Value

TypeDescription
Boolean

true if the tickmarks are visible; otherwise, false.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowTick property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

reporting-wpf-advanced-gauge-customization/CS/MainWindow.xaml.cs#L66

csharp
linearScale.MinorTickmark.ShowTick = false;
linearScale.MajorTickmark.ShowTick = false;

reporting-wpf-advanced-gauge-customization/VB/MainWindow.xaml.vb#L54

vb
linearScale.Appearance.Brush = New SolidBrushObject(Color.Transparent)
linearScale.MinorTickmark.ShowTick = False
linearScale.MajorTickmark.ShowTick = False

See Also

AllowTickOverlap

ShowFirst

ShowLast

IMinorTickmark Interface

IMinorTickmark Members

DevExpress.XtraGauges.Core.Model Namespace