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. DataGridView wpf style [modified]

DataGridView wpf style [modified]

Scheduled Pinned Locked Moved WPF
wpfcsharpcssalgorithmstutorial
5 Posts 4 Posters 12 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.
  • Y Offline
    Y Offline
    yanairon
    wrote on last edited by
    #1

    is there any reference of building a datagrid in wpf from scratch? by data grid i mean the following example requirments: DataBinding, sorting, filtering, drag&drop, column add+remove, order row\column selection\click tooltips diferent cells styles with diferent control ... i mean a whoooooole Data Grid View wpf style - (i.e DevEx's XtraGrid) any thoughts? thanks, yanai

    modified on Sunday, March 30, 2008 10:41 AM

    P 1 Reply Last reply
    0
    • Y yanairon

      is there any reference of building a datagrid in wpf from scratch? by data grid i mean the following example requirments: DataBinding, sorting, filtering, drag&drop, column add+remove, order row\column selection\click tooltips diferent cells styles with diferent control ... i mean a whoooooole Data Grid View wpf style - (i.e DevEx's XtraGrid) any thoughts? thanks, yanai

      modified on Sunday, March 30, 2008 10:41 AM

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      I suppose you could always buy the source to somebody else's implementation, or (and here's a thought) you could figure out how to implement it for yourself. It would be a great journey for you (and if you start small and basic it shouldn't be beyond you) and you will have the pleasure of becoming a WPF master as a result. Good luck.

      Deja View - the feeling that you've seen this post before.

      My blog | My articles

      R 1 Reply Last reply
      0
      • P Pete OHanlon

        I suppose you could always buy the source to somebody else's implementation, or (and here's a thought) you could figure out how to implement it for yourself. It would be a great journey for you (and if you start small and basic it shouldn't be beyond you) and you will have the pleasure of becoming a WPF master as a result. Good luck.

        Deja View - the feeling that you've seen this post before.

        My blog | My articles

        R Offline
        R Offline
        Rob Philpott
        wrote on last edited by
        #3

        Well you know, I'm curious about this too. Looking around the net shows that people are asking a lot about grid controls in WPF, and all links seem to point to XCeed's offering. But a lot of what you read about WPF tells you that its not always necessary to create a new control to get what you want. You can combine and customise them all to get what you're after. In Windows Forms you'd buy or build but it doesn't seem so clear cut with WPF. I built a GDI+ grid recently when the place I work refused to buy one, simple but effective and no problem because I can remember Petzold first time round, but being new to WPF I'm somewhat stumped as well. What would you do Pete if you had to display tabular data in WPF, buy a control or go about building one?

        Regards, Rob Philpott.

        J P 2 Replies Last reply
        0
        • R Rob Philpott

          Well you know, I'm curious about this too. Looking around the net shows that people are asking a lot about grid controls in WPF, and all links seem to point to XCeed's offering. But a lot of what you read about WPF tells you that its not always necessary to create a new control to get what you want. You can combine and customise them all to get what you're after. In Windows Forms you'd buy or build but it doesn't seem so clear cut with WPF. I built a GDI+ grid recently when the place I work refused to buy one, simple but effective and no problem because I can remember Petzold first time round, but being new to WPF I'm somewhat stumped as well. What would you do Pete if you had to display tabular data in WPF, buy a control or go about building one?

          Regards, Rob Philpott.

          J Offline
          J Offline
          Jammer 0
          wrote on last edited by
          #4

          Thinking about it ... a really quick dirty way might be to use nested stack panels and borders ...

          Jammer Going where everyone here has gone before! :) My Blog

          1 Reply Last reply
          0
          • R Rob Philpott

            Well you know, I'm curious about this too. Looking around the net shows that people are asking a lot about grid controls in WPF, and all links seem to point to XCeed's offering. But a lot of what you read about WPF tells you that its not always necessary to create a new control to get what you want. You can combine and customise them all to get what you're after. In Windows Forms you'd buy or build but it doesn't seem so clear cut with WPF. I built a GDI+ grid recently when the place I work refused to buy one, simple but effective and no problem because I can remember Petzold first time round, but being new to WPF I'm somewhat stumped as well. What would you do Pete if you had to display tabular data in WPF, buy a control or go about building one?

            Regards, Rob Philpott.

            P Offline
            P Offline
            Pete OHanlon
            wrote on last edited by
            #5

            Rob Philpott wrote:

            What would you do Pete if you had to display tabular data in WPF, buy a control or go about building one?

            It depends on what I was trying to do with it. If it wasn't too complicated then I'd look at extending the ListView - the beauty of templates is that you can turn something like the listview into a grid control without too much effort. Mind you, I do use Xceed WPF Grid as well - it's very nice (and free too in the basic version, always a plus point with me).

            Deja View - the feeling that you've seen this post before.

            My blog | My articles

            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