How to: Display Icons for the Windows Forms ListView Control
The Windows Formscontrol can display icons from three image lists. The List, Details, and SmallIcon views display images from the image list specified in the property. The LargeIcon view displays images from the image list specified in the property. A list view can also display an additional set of icons, set in the property, next to the large or small icons. For more information about image lists, see and .
To display images in a list view
Set the appropriate property—SmallImageList, LargeImageList, or StateImageList—to the existingcomponent you wish to use.
These properties can be set in the designer with the Properties window, or in code.
Set theor property for each list item that has an associated icon.
These properties can be set in code, or within the ListViewItem Collection Editor. To open the ListViewItem Collection Editor, click the ellipsis button () next to theproperty on the Properties window.