GetItemImageIndex Method (ListView)

Class

ListView.

Action

Returns the index into the image list of a list view that contains icons. This allows to verify that the correct image is used for an item.

Syntax

itemImageIndex = listView.GetItemImageIndex(item, [fromStateImageList])
Variable Description
itemImageIndex Integer.
item The item to get the image index from. ItemIdentifier.
fromStateImageList Optional: Whether to retrieve the index from the state image list or from the image list. Boolean.