Forum guidelines
AuthorQuestion
Vertical Lines in ListView
Posted on: 16 Sep 2009
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
bb
AuthorReply
Re: Vertical Lines in ListView
Posted on: 16 Sep 2009  
Hi bb,


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 :)



MY BLOG ( www.codestructs.com ) | MY SITE

Kirtan
 Patel   BCA   MCA (SEMESTER-IV)  MINDCRACKER MVP WEB HACKER



Re: Vertical Lines in ListView
Posted on: 16 Sep 2009  
HI

1. set List view "View" Property yo Details

2. set Gridlines to True

now see you have lines

thank you

If its helped to you, make it green
b b
  • 0
  • 0
Re: Vertical Lines in ListView
Posted on: 17 Sep 2009  
Hi Master Billa, 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. Can anyone provide me some code sample to do this using C#. regards, bjb
bb

SPONSORED BY

Custom Software Development
MCN is your source for developing solutions involving websites, mobile apps, cloud-computing, databases, BI, back-end services and processes and client-server applications.