Listview
Hello,
Can anyone tell me how to draw vertical line across columns in listview, I am using windows form with C#.
regards,
bb
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Kirtan PatelRank #292 · 8.6K reputationPosted Aug 10, 2009, 2:57 AM EDT
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 :)
b b47 reputationPosted Aug 10, 2009, 5:25 AM EDT
Kirtan PatelRank #292 · 8.6K reputationPosted Aug 10, 2009, 5:51 AM EDT
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 :)