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.GetDisplayText(TDateTime,Integer) Method

Creates a specifically formatted text label for the Date/Time Header scale from the specified TDateTime value.

#Declaration

Delphi
function GetDisplayText(const ADate: TDateTime; AFormatId: Integer): string; override;

#Parameters

Name Type
ADate TDateTime
AFormatId Integer

#Returns

Type
string

#Remarks

Normally, this function supports the internal infrastructure and is not intended to be used directly from your code. The GetDisplayText function is called internally by the range control in order to format scale headers in the case of the active Date/Time Header or Scheduler data range selection and visualization model.

The ADate and AFormatId parameters are used to specify the source date/time value and the data format index.

See Also