Vertical Lines in ListView
hi,
Can anyone guide me how to add vertical lines in ListView using C#. I only want to add vertical lines and not the horizontal lines across for column borders in ListView.
regards,
bjb
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.
b bPosted Sep 17, 2009, 2:59 AM
Master BillaPosted Sep 16, 2009, 10:51 AM
1. set List view "View" Property yo Details
2. set Gridlines to True
now see you have lines
thank you
Kirtan PatelPosted Sep 16, 2009, 10:46 AM
If you want This kind of Formatting in ListView then you have to write your own control From ListView
.
Its Better to use DataGridView which Provide all kind of Formatting like one You want :)
please dont forget to mark "do you like answer" it will give me some credits :)