TdxGridReportLink.OnCustomDrawCardRowCaptionCell Event
Occurs when the row captions of a card view in the report are going to be drawn.
Declaration
property OnCustomDrawCardRowCaptionCell: TdxGridReportLinkCustomDrawCardRowCaptionCellEvent read; write;
Remarks
Handle the OnCustomDrawCardRowCaptionCell event handler to perform custom drawing of a card view’s row captions in the report.
Parameter | Description |
---|---|
Sender | Represents the report link that renders the report |
ACanvas | A TCanvas instance for drawing the card on the report. |
AView | Refers to the grid view whose element is being rendered |
ACard | The card to be printed. |
ARow | The card view row whose caption is to be printed. |
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