Skip to main content

TcxTreeListCustomReportLink.OnInitializeHeaderCell Event

Occurs when a TreeList column header is rendered for a report.

Declaration

property OnInitializeHeaderCell: TcxTreeListReportLinkInitializeHeaderCellEvent read; write;

Remarks

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

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

The AColumn parameter refers to a column whose header 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