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

TdxRangeControlDateTimeScale.GetDefaultDisplayText(TDateTime) Method

Creates a text label for the date/time scale from the specified TDateTime value.

#Declaration

Delphi
function GetDefaultDisplayText(const ADate: TDateTime): string; virtual;

#Parameters

Name Type
ADate TDateTime

#Returns

Type
string

#Remarks

Normally, this function supports the internal infrastructure and is not intended to be used directly from your code. The GetDefaultDisplayText function is called internally by the range control when a tickmark label is painted on a date/time scale.

This function returns a Unicode text string created from a date/time value passed as the ADate parameter.

If you are implementing a custom Date/Time scale, you may need to override the GetDefaultDisplayText function in a TdxRangeControlDateTimeScale descendant.

See Also