Back to Devexpress

TdxGridReportLink.OnCustomDrawBandCell Event

vcl-dxpscxgridlnk-dot-tdxgridreportlink-fca19201.md

latest1.4 KB
Original Source

TdxGridReportLink.OnCustomDrawBandCell Event

Occurs when the band headers in the report are going to be drawn.

Declaration

delphi
property OnCustomDrawBandCell: TdxGridReportLinkCustomDrawBandCellEvent read; write;

Remarks

Handle the OnCustomDrawBandCell event handler to perform custom drawing of the band headers in the report.

ParameterDescription
SenderRepresents the report link that renders the report
ACanvasA TCanvas instance for drawing the band on the report.
AViewRefers to the grid view whose element is being rendered
ABandThe band containing the header to be drawn.
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.

See Also

TdxGridReportLink Class

TdxGridReportLink Members

dxPScxGridLnk Unit