Click to See Complete Forum and Search --> : Setting Row Height of ListView


jhammer
June 5th, 2005, 10:14 AM
How do I set the height of the rows in a list view?
I don't want to change the size of the font.

rroohhiitt
September 2nd, 2005, 01:46 AM
use image list and set its image size.

this.HeightControlImageList = new System.Windows.Forms.ImageList(this.components);
this.HeightControlImageList.ImageSize = new System.Drawing.Size(1, 18);
this.HeightControlImageList.TransparentColor = System.Drawing.Color.Transparent;
listView1.SmallImageList = this.HeightControlImageList;