Back to Devexpress

IMajorTickmark.ShowTick Property

corelibraries-devexpress-dot-xtragauges-dot-core-dot-model-dot-imajortickmark-423bea8a.md

latest2.6 KB
Original Source

IMajorTickmark.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#L67

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

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

vb
linearScale.MinorTickmark.ShowTick = False
linearScale.MajorTickmark.ShowTick = False
linearScale.MajorTickmark.ShowText = False

See Also

AllowTickOverlap

ShowFirst

ShowLast

IMajorTickmark Interface

IMajorTickmark Members

DevExpress.XtraGauges.Core.Model Namespace