C# .NET - How to increase Row Height of a ListView Control

Asked By Majid Bhutta on 18-Sep-05 02:14 AM
Well Dear!
I want to know how to increase the row height of list view control in C# and how to change color og listview Gridlines. Plz Help me and how can i add a datetime picker control in any coloumn of a Listview Control Waiting an answer

Links

Asked By Sameer Jain on 18-Sep-05 01:05 PM
Have a look at these
http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=82347
http://www.codeproject.com/cs/miscctrl/customheader.asp
www.codeguru.com/Cpp/controls/ listview/advanced/article.php/c1013/
www.codeguru.com/Cpp/controls/listview/ 
www.dotnet247.com/247reference/ System/Windows/Forms/ListView/__discussions/32
Thanks
Anoop S replied to Majid Bhutta on 07-Jan-11 11:06 AM

list view can be “owner-drawn”. Here the owner means the window that owns the control; it controls how to draw the controls.

 

Taking the list box control for example, you specify a LBS_OWNERDRAWVARIABLE style to it; then the owner will receive a WM_MEASUREITEM where it can specify the height of each item. The detailed explanation can be found here:

http://msdn.microsoft.com/en-us/library/ms997541.aspx

 

The following artivle will show you how to do it in details:
http://msdn.microsoft.com/en-us/library/ms229679.aspx