winform中,listview是没有办法设置行高的,没行之间排得密密麻麻的,很不好!

可以加入一个imagelist来 撑大 行,实现行高的设置!

  //   设置行高   20   
  ImageList   imgList   =   new   ImageList();  
  imgList.ImageSize   =   new   Size(1,   20);//分别是宽和高

   listView1.SmallImageList   =   imgList;   //这里设置listView的SmallImageList ,用imgList将其撑大

相关文章:

  • 2022-12-23
  • 2021-06-04
  • 2021-11-20
  • 2021-09-27
  • 2021-06-21
  • 2021-12-16
  • 2021-07-08
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-30
  • 2022-12-23
  • 2021-12-14
  • 2021-07-17
相关资源
相似解决方案