ListItem.getImageIndex

Overview | Methods | This Package | All Packages

ListItem.getImageIndex

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

Syntax

public int getImageIndex()

Return Value

Returns the zero-based index within an ImageList object of the image that appears next to this item. The smallImageList and largeImageList properties of the ListView control that contains this item determine which image lists are associated with the list view control. Returns -1 if the imageIndex property of the item has never been set.

See Also   setImageIndex