TreeNode.getSelectedImageIndex

Overview | Methods | This Package | All Packages

TreeNode.getSelectedImageIndex

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

Syntax

public int getSelectedImageIndex()

Return Value

Returns 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 selectedImageIndex property of the TreeView control that contains this node.

See Also   setSelectedImageIndex