Results 1 to 1 of 1

Thread: Listview Alignment, Vertical & Horitzontal Spacing

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2007
    Posts
    115

    Listview Alignment, Vertical & Horitzontal Spacing

    I have a listview that will always be 4 rows and 5 columns however font size can change but I'd like to do some formatting with alignment.

    I know I can change the width by changing columnheder width and
    I know I can center align column header like this:
    Code:
    columnheader.Width = 200
       columnheader.TextAlign = HorizontalAlignment.Center
    However setting the listview.Alignment property only gives you top, left, default and snap to grid.

    I want to be able to center the listview data both horizontally and vertically. Also, Is it possible to increase vertical spacing (change row height without increasing font size) without adding blank rows???

    I use View.Details. I tried messing with tiles but it didnt seem to do what I expected.
    Last edited by jeffnyc; Jul 14th, 2007 at 04:03 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width