Loading... <p>winform中,listview是没有办法设置行高的,没行之间排得密密麻麻的,很不好!可以加入一个imagelist来<strong> <font color="#ff0000">撑大</font></strong> 行,实现行高的设置!</p><p><font face="Verdana"> // 设置行高 20 <br /> ImageList imgList = new ImageList(); <br /> imgList.ImageSize = new Size(1, 20);//分别是宽和高</font></p><p><font face="Verdana"> listView1.SmallImageList = imgList; //这里设置listView的SmallImageList ,用imgList将其<strong><font color="#ff0000">撑大</font></strong></font></p> 相关文章 无相关文章 Last modification:August 16th, 2009 at 12:30 pm © 允许规范转载 Support 如果觉得我的文章对你有用,请随意赞赏 ×Close Appreciate the author Sweeping payments Pay by AliPay Pay by WeChat
很不错!刚好用到!(到底要写多少字)