TdxGridReportLink.OnCustomDrawHeaderCell Event
Occurs when the column headers in the report are going to be drawn.
Declaration
property OnCustomDrawHeaderCell: TdxGridReportLinkCustomDrawHeaderCellEvent read; write;
Remarks
Handle the OnCustomDrawHeaderCell event handler to perform custom drawing of the column headers in a report.
Parameter | Description |
---|---|
Sender | Represents the report link that renders the report |
ACanvas | A TCanvas instance for drawing the header cell on the report. |
AView | The view that contains the data being printed. |
AColumn | The column whose header is to be drawn. |
AnItem | Specifies the properties of the printed cell. |
ADone | Determines 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