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

TdxRangeControlPredefinedDateHeaderScale.GetDefaultDisplayText(TDateTime) Method

Creates a formatted text label for the date/time header scale according to its measurement unit.

#Declaration

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

#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 label is painted within the respective scale header.

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

See Also