LinearScale.CustomTickmarkText Event
Allows you to dynamically customize the text of tickmarks.
Namespace: DevExpress.XtraGauges.Core.Model
Assembly: DevExpress.XtraGauges.v21.1.Core.dll
NuGet Package: DevExpress.Gauges.Core
Declaration
Remarks
The event fires dynamically before each tickmark is displayed. The event’s CustomTickmarkTextEventArgs.Value and CustomTickmarkTextEventArgs.Text parameters identify the tickmark value and its default text representation. To provide a custom tickmark display string, assign the string to the CustomTickmarkTextEventArgs.Result parameter.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CustomTickmarkText event.
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.