TcxSchedulerTimeGridView.GetMajorUnitDisplayText(TDateTime,TDateTime,TcxSchedulerTimeGridScaleTextType) Method
Returns the title of the specified major time scale’s unit as a formatted string.
Declaration
function GetMajorUnitDisplayText(const AStart: TDateTime; const AFinish: TDateTime; ATextType: TcxSchedulerTimeGridScaleTextType): string;
Parameters
Name | Type |
---|---|
AStart | TDateTime |
AFinish | TDateTime |
ATextType | TcxSchedulerTimeGridScaleTextType |
Returns
Type |
---|
string |
Remarks
Use the GetMajorUnitDisplayText 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