Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxGridReportLink.OnCustomDrawLevelCaption Event

In This Article

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.

Parameter Description
Sender Represents the report link that renders the report
ACanvas A TCanvas instance for drawing the Level caption on the report.
AView The view that contains the data being printed.
AnItem Specifies the properties of the printed cell.
ADone Determines 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