Skip to main content

TdxGridReportLink.OnCustomDrawCardRowDataCell Event

Occurs when the contents of a row in a card view in the report are going to be drawn.

Declaration

property OnCustomDrawCardRowDataCell: TdxGridReportLinkCustomDrawCardRowDataCellEvent read; write;

Remarks

Handle the OnCustomDrawCardRowDataCell event handler to perform custom drawing of the contents of a card view’s row.

Parameter Description
Sender Represents the report link that renders the report
ACanvas A TCanvas instance for drawing the card row on the report.
AView The view that contains the data being printed.
ACard The card being printed.
ARow The card view row to be printed.
AnItem Specifies the properties of the cell to be printed.
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