我只是想有两列这样的:
I just want to have 2 columns like:
Item Value
[icon] Gold 10
[icon] Silver 2
[icon] Iron 1
这可能吗?或者我需要有另一列的图标?
Is this possible? Or do I need to have another column for the icons?
查找 SmallImageList
的文档的ListView
控制和的ImageIndex
和 ImageKey
的属性的ListViewItem
类。
Look the documentation for the SmallImageList
of the ListView
control and the ImageIndex
and ImageKey
properties of the ListViewItem
class.
的http://msdn.microsoft.com/en-us/library/system.windows.forms.listview.smallimagelist.aspx