I want to change the Item\'s/Row\'s height in listview.
I searched every where and I figured that in order to change the height I need to use LBS_OWNERDRAWFIXE
LBS_OWNERDRAWFIXE
For the people that are still struggling with this, here is the code I use:
private void SetHeight(ListView listView, int height) { ImageList imgList = new ImageList(); imgList.ImageSize = new Size(1, height); listView.SmallImageList = imgList; }
To use this, just do:
SetHeight(lvConnections, 25);