Listview
Hello,
Can anyone tell me how to draw vertical line across columns in listview, I am using windows form with C#.
regards,
bb
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Kirtan PatelPosted Aug 10, 2009, 9:51 AM
You can not do it simply you have to Develp your own Control From Inheriting ListView Class and Draw that lines Again
instead i would like to suggest you to use simply dataGridView
and you can change its Line Color as you want
like below
Set just 3 Properties
Dont Forget to mark "Do you like Answer" it will give me some Credit :)
b bPosted Aug 10, 2009, 9:25 AM
Kirtan PatelPosted Aug 10, 2009, 6:57 AM
Just Make GridLine Property of List View To be True like below Image of ListView
dont Forget to mark "Do you like Answer" if Answer help you it will give me some credits :)