Back to Devexpress

TdxGridReportLink.OnCustomDrawCell Event

vcl-dxpscxgridlnk-dot-tdxgridreportlink-f5a7ae57.md

latest1.4 KB
Original Source

TdxGridReportLink.OnCustomDrawCell Event

Occurs when the contents of a cell in the report are going to be drawn.

Declaration

delphi
property OnCustomDrawCell: TdxGridReportLinkCustomDrawCellEvent read; write;

Remarks

Handle the OnCustomDrawCell event handler to perform custom drawing of the view cells in a report.

ParameterDescription
SenderRepresents the report link that renders the report
ACanvasA TCanvas for drawing the cell on the report.
AViewThe view that contains the data being printed.
ARecordThe grid record being printed.
AColumnThe column being printed.
AnItemSpecifies the properties of the printed cell to be printed.
ADoneDetermines whether custom drawing has finished and that default painting is not required.

Custom drawing can be disabled by setting the SupportedCustomDraw property to False. This will improve application performance slightly as resources don’t have to be created to support custom draw handlers.

See Also

TdxGridReportLink Class

TdxGridReportLink Members

dxPScxGridLnk Unit