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

TcxCustomTreeView.OnGetImageIndex Event

In This Article

Allows you associate images with nodes.

#Declaration

Delphi
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