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

In This Article

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

#Declaration

Delphi
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