Vertical Gridlines in Listview
Hi everyone,
Can anyone guide me how to add vertical lines in ListView using C#. I want to add vertical lines across for column borders in ListView.
If i set the gridline property to "true", vertical as well as horizontal lines will show. But i only want to show vertical lines across column header not the horizontal lines. I thimk i have to override the Paint method, but i have no clue how to do that.
regards,
bjb
Master BillaPosted Sep 19, 2009, 2:42 AM
Yes you need play with paint method
here is code to play with list view paint method
http://www.codeproject.com/KB/list/bk_custlistview.aspx
thank you