TreeNode.setSelectedImageIndex

Overview | Methods | This Package | All Packages

TreeNode.setSelectedImageIndex

Sets the index of the image that appears next to this node when it is selected.

Syntax

public void setSelectedImageIndex( int value )

Parameters

value

Set to the zero-based index within an ImageList object of the image that appears next to this node when it is selected. Returns -1 if the selectedImageIndex property of the node has never been explicitly set, and the image that appears next to the node is specified in the TreeView.setSelectedImageIndex property of the tree view control that contains this node.

See Also   getSelectedImageIndex