Skip to main content
A newer version of this page is available. .

LinearScale.CustomTickmarkText Event

Allows you to dynamically customize the text of tickmarks.

Namespace: DevExpress.XtraGauges.Core.Model

Assembly: DevExpress.XtraGauges.v19.1.Core.dll

Declaration

public event CustomTickmarkTextEventHandler CustomTickmarkText

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.

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.

See Also