Back to Devexpress

TdxGridReportLink.OnCustomDrawCardRowCaptionCell Event

vcl-dxpscxgridlnk-dot-tdxgridreportlink-cd862035.md

latest1.5 KB
Original Source

TdxGridReportLink.OnCustomDrawCardRowCaptionCell Event

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

Declaration

delphi
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.

ParameterDescription
SenderRepresents the report link that renders the report
ACanvasA TCanvas instance for drawing the card on the report.
AViewRefers to the grid view whose element is being rendered
ACardThe card to be printed.
ARowThe card view row whose caption is to be printed.
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