Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

Custom Labels

Custom Labels allow you to display a custom text and place it in any position in the Linear gauge.

Linear Gauge_Label

Custom Labels are represented by an instance of the ScaleCustomLabel class, which should be added to the ScaleCustomLabelCollection returned by the Scale.CustomLabels property.

The table below lists the main properties affecting element behavior and appearance.

Characteristics Members
Data ScaleCustomElement.Content
Visibility ScaleCustomElement.Visible
Presentation ScaleCustomElement.ContentTemplate
Position ScaleCustomLabel.Value, ScaleCustomLabel.Offset
Layout Width, Height, Margin, Padding
Generation from a template Scale.CustomLabelsSource, Scale.CustomLabelTemplate