Skip to main content

TcxCustomTreeView.OnGetImageIndex Event

Allows you associate images with nodes.

Declaration

property OnGetImageIndex: TTVExpandedEvent read; write;

Remarks

The OnGetImageIndex event occurs once for every node at application startup and every time the expansion state of nodes changes. The OnGetImageIndex event fires to obtain the image displayed within an unselected node.

Note

The OnGetImageIndex event never occurs for nodes whose ImageIndex property is not set to -1.

See Also