Skip to main content

TcxSchedulerReportLink.OnCustomDrawHeaderCell Event

Fires when the cell, which contains the resource and day headers, is about to be drawn in the scheduler’s report.

Declaration

property OnCustomDrawHeaderCell: TcxSchedulerReportLinkCustomDrawHeaderCellEvent read; write;

Remarks

Implement the OnCustomDrawHeaderCell event handler to custom draw the cell in which the resource and day headers are located.

Sender represents the TcxSchedulerReportLink object.

ACanvas specifies the drawing surface.

AItem provides information for rendering the cell.

ADone specifies whether the default painting is required. Set ADone to True to prevent the default execution.

Note

to find out whether to custom draw a resource or day header use the TcxSchedulerReportHeaderItemCell.IsResourceHeader property. This property returns True if a resource header is being drawn.

See Also