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

TdxRangeControlCustomDateTimeClientProperties.OnGetLabelText Event

In This Article

Enables you to provide custom labels for date/time scales displayed on the range control‘s ruler.

#Declaration

Delphi
property OnGetLabelText: TdxRangeControlDateTimeClientGetLabelTextEvent read; write;

#Remarks

You can handle this event to provide custom labels corresponding to specific date/time values on a scale. The OnGetLabelText event is fired multiple times during the range control repainting, prior to painting another scale label.

The Sender parameter specifies the date/time range selection and visualization model that fires the OnGetLabelText event.

The AValue and ADisplayText parameters specify the date/time value corresponding to the tickmark label, which is about to be painted, and the text string that will be displayed instead, respectively.

See Also