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. WPF
  4. WPF Help Needed on Resizing data grid

WPF Help Needed on Resizing data grid

Scheduled Pinned Locked Moved WPF
questioncsharpcsswpfhelp
2 Posts 2 Posters 0 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.
  • B Offline
    B Offline
    blurboy
    wrote on last edited by
    #1

    Hi, I'm making a WPF application. It is like an organizer. The number of columns is fixed at 5, but the number of rows varies. It will be based on time interval selected by the user, which is 5, 10, 20, 30 min interval. How can I make a table that can adjust itself according to the user defined time interval? Thanks in advance

    T 1 Reply Last reply
    0
    • B blurboy

      Hi, I'm making a WPF application. It is like an organizer. The number of columns is fixed at 5, but the number of rows varies. It will be based on time interval selected by the user, which is 5, 10, 20, 30 min interval. How can I make a table that can adjust itself according to the user defined time interval? Thanks in advance

      T Offline
      T Offline
      Timmy Kokke
      wrote on last edited by
      #2

      Are you using a Gridview? or do you show a datatemplate in a listview? Either way you can use a timer to do this. Here is some information about that on MSDN: http://msdn.microsoft.com/en-us/library/system.threading.timer.aspx[^] In the TimerCallback you can add items to the list you are showing.

      Dawn is nature's way of telling you to go to bed.

      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