how to set padding to listview items?

匿名 (未验证) 提交于 2019-12-03 00:53:01

问题:

I have a Listview on Large icon view in Windows Forms that the images are so close to each other.
so how could I set padding to items ?

回答1:

There is no method within ListView to do this. You could take a look at LVM_SETICONSPACING. Here is a very good tutorial, if you need help.



回答2:

You can use the IndentCount property.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!