Winform窗口中,控件listview是无法设置行高的。

以加入一个imagelist(图片列表控件)实现行高的设置。

ImageList imageList = new ImageList();

imageList.ImageSize = new System.Drawing.Size(10, 20);   //分别是宽和高

listView1.SmallImageList = imageList;

相关文章:

  • 2022-12-23
  • 1970-01-01
  • 2022-12-23
  • 2021-09-01
  • 2021-11-18
  • 2022-12-23
  • 2022-12-23
  • 2021-06-04
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-06
  • 2022-01-09
  • 2022-12-23
  • 2021-04-30
相关资源
相似解决方案