Back to Devexpress

TdxGridReportLink.OnCustomDrawFooterCell Event

vcl-dxpscxgridlnk-dot-tdxgridreportlink-f16b18fd.md

latest1.7 KB
Original Source

TdxGridReportLink.OnCustomDrawFooterCell Event

Occurs when the footer panel for a cell in the report is going to be drawn.

Declaration

delphi
property OnCustomDrawFooterCell: TdxGridReportLinkCustomDrawFooterCellEvent read; write;

Remarks

Handle the OnCustomDrawFooterCell event handler to perform custom drawing of a cell within the footer panel of a report.

ParameterDescription
SenderRepresents the report link that renders the report
ACanvasA TCanvas instance for drawing the footer cell on the report.
AViewThe view that contains the data being printed.
ARecordThe grid record being printed.
AColumnThe column being printed.
ALevelIdentifies the nesting level of the grouping row for which the footer cell is being painted.
AnItemSpecifies the properties of the printed cell.
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.

Note

To implement custom drawing of the footer panel, make sure that the footer panel exists and isn’t empty; otherwise, custom drawing will not be performed.

See Also

TdxGridReportLink Class

TdxGridReportLink Members

dxPScxGridLnk Unit