Skip to main content

TcxSchedulerTimeGridView.GetMinorUnitDisplayText(TDateTime,TDateTime,TcxSchedulerTimeGridScaleTextType) Method

Returns the title of the specified minor time scale’s unit as a formatted string.

Declaration

function GetMinorUnitDisplayText(const AStart: TDateTime; const AFinish: TDateTime; ATextType: TcxSchedulerTimeGridScaleTextType): string;

Parameters

Name Type
AStart TDateTime
AFinish TDateTime
ATextType TcxSchedulerTimeGridScaleTextType

Returns

Type
string

Remarks

Use the GetMinorUnitDisplayText method to get the date string formatted in accordance with the ATextType format.

The AStart and AFinish parameters specify the date, which will be returned by the method as a formatted date string.

The ATextType parameter specifies the date format to be applied.

See Also