3 Replies - 820 Views - Last Post: 14 December 2012 - 04:58 PM Rate Topic: -----

#1 Criel  Icon User is offline

  • D.I.C Head

Reputation: 1
  • Posts: 120
  • Joined: 11-March 11

Listview column headers stackable?

Posted 14 December 2012 - 01:38 PM

I'm just curious as to if the column names are stackable on top of each other, in other words:

ORIGINAL
|test|testing test1|testing test32|test3|


NEW
|test|testing|testing|test
       test1  test32


I know it's possible to do in a gridview but I like to stay away from them when i have the chance. I've currently got around 10 columns and would love to not have to implement a horizontal scroll bar if I don't have to.

This post has been edited by Criel: 14 December 2012 - 01:41 PM


Is This A Good Question/Topic? 0
  • +

Replies To: Listview column headers stackable?

#2 _HAWK_  Icon User is offline

  • Master(Of Foo)
  • member icon

Reputation: 1030
  • View blog
  • Posts: 4,011
  • Joined: 02-July 08

Re: Listview column headers stackable?

Posted 14 December 2012 - 01:53 PM

Not that I know of. Try it with WPF!
Was This Post Helpful? 1
  • +
  • -

#3 Criel  Icon User is offline

  • D.I.C Head

Reputation: 1
  • Posts: 120
  • Joined: 11-March 11

Re: Listview column headers stackable?

Posted 14 December 2012 - 03:49 PM

It turns out that it's possible in WPF :)

 <ListView.View>
            <GridView>
                    <GridViewColumn><AccessText Text="Date" TextWrapping="Wrap" TextAlignment="Center" /></GridViewColumn>
                    <GridViewColumn><AccessText Text="Time" TextWrapping="Wrap" TextAlignment="Center" /></GridViewColumn>
                    <GridViewColumn><AccessText Text="Status" TextWrapping="Wrap" TextAlignment="Center" /></GridViewColumn>
                    <GridViewColumn><AccessText Text="Bank Account Type" TextWrapping="Wrap" TextAlignment="Center"  Width="50"/></GridViewColumn>
                    
            </GridView>
        </ListView.View>


Was This Post Helpful? 0
  • +
  • -

#4 _HAWK_  Icon User is offline

  • Master(Of Foo)
  • member icon

Reputation: 1030
  • View blog
  • Posts: 4,011
  • Joined: 02-July 08

Re: Listview column headers stackable?

Posted 14 December 2012 - 04:58 PM

I know isn't WPF awesome. I don't use winforms anymore!
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1