How do I show icons and text in Winforms ListView when the Style Style is set to Details?

I just want to have 2 type columns:

Item                Value
[icon] Gold         10
[icon] Silver       2
[icon] Iron         1

Is it possible? Or do I need another column for the icons?

+3
source share
2 answers

See the documentation for the SmallImageListcontrol ListViewand the properties ImageIndexand ImageKeyclass ListViewItem.

http://msdn.microsoft.com/en-us/library/system.windows.forms.listview.smallimagelist.aspx

+6
source

ListView, , , codeproject, (SubItems ListView)

+5

All Articles