Skip to main content

TcxTreeListCustomReportLink.OnInitializeBandCell Event

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

Declaration

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