Skip to main content

TcxSchedulerReportLinkStyles.GetContentParams(TDateTime,Boolean,TcxSchedulerStorageResourceItem) Method

Returns the TcxViewParams record, which contains information about the style attributes of the time blocks in the report.

Declaration

function GetContentParams(const ADateTime: TDateTime; ALightColor: Boolean; AResource: TcxSchedulerStorageResourceItem): TcxViewParams; overload; virtual;

Parameters

Name Type
ADateTime TDateTime
ALightColor Boolean
AResource TcxSchedulerStorageResourceItem

Returns

Type
TcxViewParams

Remarks

Use the GetContentParams method to get information about the style attributes of the report’s time blocks.

The ADateTime parameter specifies the time slot;

The AResource parameter specifies the resource if the gkByResource flag on the TcxSchedulerCustomResourceView.GroupingKind property is active;

The ALightColor parameter specifies whether the current time slot corresponds to work time or not. If the current time slot is working time the ALightColor parameter should be set to True. The range of working hours is specified by the TcxSchedulerOptionsView.WorkStart and TcxSchedulerOptionsView.WorkFinish properties.

See Also