How can I set an icon for a ListViewSubItem?

前端 未结 7 689
既然无缘
既然无缘 2020-12-05 19:36

In a ListView you can have icons on each item.
When viewing in Details-mode, the icon is shown in the left-most column.

Can I show an icon in some other column?<

7条回答
  •  孤街浪徒
    2020-12-05 20:04

    ObjectListView is an open source wrapper around a .NET Winforms ListView. It supports images on subitems using the p/invoke strategy that that @ligget78 mentioned. It also solves many other common problems with a ListView.

    It allows you to make very nice looking ListViews with a minimum effort:


    (source: sourceforge.net)

提交回复
热议问题