TcxSchedulerDayViewStyles.GetHeaderContainerParams(TDateTime,TcxSchedulerStorageResourceItem,Boolean) Method
Returns the TcxViewParams record which contains information about the style attributes of the all-day event area located at the top of each day in the scheduling area.
Declaration
function GetHeaderContainerParams(const ADate: TDateTime; AResource: TcxSchedulerStorageResourceItem; ASelected: Boolean): TcxViewParams;
Parameters
Name | Type |
---|---|
ADate | TDateTime |
AResource | TcxSchedulerStorageResourceItem |
ASelected | Boolean |
Returns
Type |
---|
TcxViewParams |
Remarks
Use the GetHeaderContainerParams method to get information about the style attributes of the all-day event area.
The ADate parameter specifies the day the all-day event area is located in.
The AResource parameter specifies the resource the ADate day belongs to (if the View’s GroupingKind property is set to gkByResource or gkByDate and more than one resource is defined). In other cases, set the AResource parameter to nil.
The ASelected parameter specifies whether the all-day event area is selected. Set the ASelected parameter to True to indicate that the all-day event area is selected.