Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WCF and WF
  4. Horizontal Listview

Horizontal Listview

Scheduled Pinned Locked Moved WCF and WF
question
2 Posts 1 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jamie550
    wrote on last edited by
    #1

    How would I make the listview horizontal, so that the headers are stacked one on top of each other on the left? This will remove the necessity of scrolling across the listview to edit a single item.

    J 1 Reply Last reply
    0
    • J jamie550

      How would I make the listview horizontal, so that the headers are stacked one on top of each other on the left? This will remove the necessity of scrolling across the listview to edit a single item.

      J Offline
      J Offline
      jamie550
      wrote on last edited by
      #2

      Does anybody have any help on this? The best I can currently get is: Given obj1 with info ABC, obj2 with DEF, and obj3 with GHI, when it was previously ABC DEF GHI Now it is ABCDEFGHI By overriding ItemsPanel with a VirtualizingStackPanel with orientation set to horizontal. But I still cannot find how to cause the GridView to move its columns (which is apparently actually ListView's job). When extracting ListView's default template, putting it back in results in the column headers being missing. So, do any experts have any pertinent information? EDIT: Adding a view changed the template. Why did I not try this before :doh: Time to see if this holds the answers... EDIT: Making the items vertical can be done by setting the template for ListViewItem in a implied style. But the data for columns is stored in {DynamicResource {x:Static GridView.GridViewScrollViewerStyleKey}}. How to get to that...

      modified on Friday, June 20, 2008 8:27 AM

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups