Skip to main content

TdxTreeViewNode.SelectedImageIndex Property

Specifies an image index for the node in selected state.

Declaration

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