TdxRangeControlCustomDateTimeClientProperties.OnGetLabelText Event
Enables you to provide custom labels for date/time scales displayed on the range control‘s ruler.
Declaration
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