开发者

Add image in first column in list view C#

I have 7 column in my list view then i 开发者_JS百科want to add image in first column. How I can solve this problem.

Thanks in advance


  • Add a ImageList control to your form.
  • Assign that ImageList to the ListView (there are properties for small/big icons)
  • Add your images to the ImageList (can happen dynamically)
  • Add the correct index to the ListViewItem's constructor (or set the icon later on).
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜