TreeView.setImageList

Overview | Methods | This Package | All Packages

TreeView.setImageList

Sets the image list control associated with the tree view control.

Syntax

public void setImageList( ImageList value )

Parameters

value

An ImageList object that contains a set of images from which you can choose the image to display next to nodes and the image to display next to the selected node. You must create an ImageList object and populate it with images before you can associate the image list with a TreeView control. By default, the tree view control is not associated with an image list. This means that no images (other than the plus (+) or minus (-) that indicates that the node can be expanded or collapsed) appear next to the nodes. To hide the plus and minus signs, set the showPlusMinus property to false.

See Also   getImageList