Skip to main content

TcxSchedulerReportLink.OnCustomDrawEventPartCell Event

Fires when an area within a user event cell is about to be drawn in the scheduler’s report.

Declaration

property OnCustomDrawEventPartCell: TcxSchedulerReportLinkCustomDrawEventPartCellEvent read; write;

Remarks

Implement the OnCustomDrawEventPartCell event handler to custom draw the different areas of the user event cells in the scheduler’s report.

Sender represents the TcxSchedulerReportLink object.

ACanvas specifies the drawing surface.

AItem provides information for rendering the user event.

APart specifies the particular area within the user event cell.

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

Note

a particular area within a user event cell is custom drawn only if it is displayed under the current time view print style in the scheduler’s report (see the TcxSchedulerReportLinkPrintStyles.Daily, TcxSchedulerReportLinkPrintStyles.Weekly and TcxSchedulerReportLinkPrintStyles.Monthly properties).

See Also