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

TcxSchedulerReportLink.OnCustomDrawEventPartCell Event

In This Article

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

#Declaration

Delphi
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