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

TcxTreeListCustomReportLink.OnCustomDrawFooterCell Event

In This Article

Enables custom painting of the TreeList control footer within the report.

#Declaration

Delphi
property OnCustomDrawFooterCell: TcxTreeListReportLinkCustomDrawFooterCellEvent read; write;

#Remarks

To implement custom painting of the TreeList control footer cell within the report you should use the report link OnCustomDrawFooterCell event and enable custom painting via the SupportedCustomDraw property. Set it to True to enable custom painting and to False to disable it.

To implement custom painting you will need a canvas to paint to (provided by ACanvas parameter) and painting information provided by the AnItem parameter. Optionally you can access the owning report link properties and methods via the Sender parameter and the TreeList column (the AColumn parameter) to the painted footer cell that it belongs.

To prevent default drawing of the footer cell set the ADone parameter to True. By default this parameter is False and default drawing is enabled.

See Also