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.OnInitializeBandCell Event

In This Article

Occurs when a TreeList band header is rendered for the report.

#Declaration

Delphi
property OnInitializeBandCell: TcxTreeListReportLinkInitializeBandCellEvent read; write;

#Remarks

The OnInitializeBandCell event occurs when a TreeList band header is rendered for the report.

The Sender parameter represents a report link that renders the report.

The ABand parameter refers to a band whose header is rendered.

The AnItem parameter contains data that defines band header representation within the report.

You can modify the properties of an object passed via the AnItem parameter to change the visual representation of the rendered element, this can help you avoid custom painting in most cases. Additionally, all changes made to this parameter’s properties can be safely stored during a report’s load and save operations.

See Also