如题,listbox中有没有属性可以得到其中item的高度

解决方案 »

  1.   

    ListBox.ItemHeight比如:
    ListBox ls = new ListBox();
    Console.WriteLine(ls.ItemHeight);
      

  2.   

    我是想问一下在Winform情况下的listbox,我看过好像没有ItemHeight属性阿
      

  3.   

    楼上回答的是WinForm下的呀,没错
      

  4.   

    不好意思,是我看错了,WinForm下ListBox确实有ItemHeight属性,但是CheckedListBox没有这个属性,谢谢楼上几位,现在结贴,拖了那么久,对不起大家拉:)