Skip to main content

TcxTreeListCustomReportLink.OnInitializeCell Event

Occurs when a TreeList data cell is rendered for a report.

Declaration

property OnInitializeCell: TcxTreeListReportLinkInitializeCellEvent read; write;

Remarks

The OnInitializeCell event occurs when a TreeList data cell is rendered for a report.

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

The AColumn parameter refers to a column whose data cell is rendered.

The ANode parameter refers to a node whose data cell is rendered.

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

You can modify 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 report load and save operations.

See Also