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

TdxTreeViewNode.SelectedImageIndex Property

Specifies an image index for the node in selected state.

#Declaration

Delphi
property SelectedImageIndex: Integer read; write;

#Property Value

Type Description
Integer

An image index.

#Remarks

The Tree View provides access to an image storage. Assign an image’s index in this storage to the SelectedImageIndex property to display the image in the selected node. You can assign -1 to this property to display no image in the selected node.

The default value of the SelectedImageIndex property is 0.

Note

The selected node displays an image whose index is the SelectedImageIndex property value if the Tree View’s OptionsView.UseImageIndexForSelected property is set to True.

See Also