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

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

Delphi
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