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

TdxCustomTreeView.OnGetSelectedImageIndex Event

In This Article

Allows you to specify the image for the selected node.

#Declaration

Delphi
property OnGetSelectedImageIndex: TdxTreeViewGetImageIndexEvent read; write;

#Remarks

This event occurs every time the Tree View control redraws a selected node. Assign an image index to the AImageIndex parameter to display the corresponding image from the image source in a node passed as the ANode parameter.

Note

The OnGetSelectedImageIndex event occurs only if the Tree View control’s OptionsView.UseImageIndexForSelected property is set to True.

Refer to the TdxTreeViewGetImageIndexEvent type description for information on available options.

See Also