Back to Devexpress

TdxGridReportLink.OnCustomDrawCardRowDataCell Event

vcl-dxpscxgridlnk-dot-tdxgridreportlink-b4418ff4.md

latest1.4 KB
Original Source

TdxGridReportLink.OnCustomDrawCardRowDataCell Event

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

Declaration

delphi
property OnCustomDrawCardRowDataCell: TdxGridReportLinkCustomDrawCardRowDataCellEvent read; write;

Remarks

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

ParameterDescription
SenderRepresents the report link that renders the report
ACanvasA TCanvas instance for drawing the card row on the report.
AViewThe view that contains the data being printed.
ACardThe card being printed.
ARowThe card view row to be printed.
AnItemSpecifies the properties of the cell to be printed.
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