Back to Devexpress

TdxGridReportLink.OnCustomDrawHeaderCell Event

vcl-dxpscxgridlnk-dot-tdxgridreportlink-bee162a8.md

latest1.4 KB
Original Source

TdxGridReportLink.OnCustomDrawHeaderCell Event

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

Declaration

delphi
property OnCustomDrawHeaderCell: TdxGridReportLinkCustomDrawHeaderCellEvent read; write;

Remarks

Handle the OnCustomDrawHeaderCell event handler to perform custom drawing of the column headers in a report.

ParameterDescription
SenderRepresents the report link that renders the report
ACanvasA TCanvas instance for drawing the header cell on the report.
AViewThe view that contains the data being printed.
AColumnThe column whose header is 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