Skip to main content

TcxSchedulerReportLink.OnCustomDrawNotesCell Event

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

Declaration

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