Back to Devexpress

TdxGridReportLink.OnCustomDrawLevelCaption Event

vcl-dxpscxgridlnk-dot-tdxgridreportlink-d5652bab.md

latest1.3 KB
Original Source

TdxGridReportLink.OnCustomDrawLevelCaption Event

Occurs when the level captions in the report are going to be drawn.

Declaration

delphi
property OnCustomDrawLevelCaption: TdxGridReportLinkCustomDrawLevelCaptionEvent read; write;

Remarks

Handle the OnCustomDrawLevelCaption event handler to perform custom drawing of the level captions in a report.

ParameterDescription
SenderRepresents the report link that renders the report
ACanvasA TCanvas instance for drawing the Level caption on the report.
AViewThe view that contains the data being printed.
AnItemSpecifies the properties of the printed cell.
ADoneDetermines whether custom drawing has finished and that default painting is not required.

Set the SupportedCustomDraw property to False to disable custom drawing. 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