TreeNode.getImageIndex

Overview | Methods | This Package | All Packages

TreeNode.getImageIndex

Retrieves the index of the image that appears next to this node.

Syntax

public int getImageIndex()

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 imageIndex property of the node has never been explicitly set, and the image that appears next to the node is specified in the imageIndex property of the TreeView control that contains this node.

See Also   setImageIndex