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.OnCustomDrawNotesCell Event

In This Article

Fires when the blank or lined notes pane is about to be drawn in the scheduler’s report.

#Declaration

Delphi
property OnCustomDrawNotesCell: TcxSchedulerReportLinkCustomDrawNotesCellEvent read; write;

#Remarks

Implement the OnCustomDrawNotesCell event handler to custom draw the report’s notes pane whether it is the plain notes pane or the lined notes pane.

The Sender parameter represents the TcxSchedulerReportLink object.

The ACanvas parameter specifies the drawing surface.

The AItem parameter provides information for rendering the notes pane.

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

To find out whether to custom draw the blank or lined notes pane, use the TcxSchedulerReportNotesDataCell.Lined property. This property returns True if the lined notes pane is being drawn.

Note

the OnCustomDrawNotesCell event handler can be applied to the plain or lined notes panes if these panes are included in the scheduler’s report (see the TcxCustomSchedulerReportLinkPrintStyle.ShowNotesAreaBlank and TcxCustomSchedulerReportLinkPrintStyle.ShowNotesAreaLined properties).

See Also