How to add an image to ListViewItem or ListView c#

前端 未结 1 928
轮回少年
轮回少年 2020-12-20 02:32

I have a listview control, to this control I am adding rows which contain image data, filename, position (its taken at a point in a 4 dimensional matrix), time taken. To ma

相关标签:
1条回答
  • 2020-12-20 03:11

    Unfortunately, in WinForms rendering a column as an image gets painful. You have to create an owner-drawn ListView and provide the logic for drawing that column.

    Fortunately, there's the open source ObjectListView wrapper, which makes drawing images in ListView subitem columns trivial:

    alt text

    0 讨论(0)
提交回复
热议问题