Back to Devexpress

IMajorTickmark.ShowText Property

corelibraries-devexpress-dot-xtragauges-dot-core-dot-model-dot-imajortickmark-d7d2f208.md

latest2.3 KB
Original Source

IMajorTickmark.ShowText Property

Gets or sets whether tickmark labels are visible.

Namespace : DevExpress.XtraGauges.Core.Model

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

NuGet Package : DevExpress.Gauges.Core

Declaration

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

Property Value

TypeDescription
Boolean

true if tickmark labels are visible; otherwise, false.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowText 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#L68

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

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

vb
linearScale.MajorTickmark.ShowTick = False
linearScale.MajorTickmark.ShowText = False
linearScale.EndUpdate()

See Also

IMajorTickmark Interface

IMajorTickmark Members

DevExpress.XtraGauges.Core.Model Namespace