wpf - Display Hierarchical Data in a Table -


I have a hierarchical data structure that I need to display in WPF. I'm very new to WPF and I'm trying to come up in a way. But, alas, I've painted a blank and ask people for help. My data structure looks like this:

  • FORD
    • F-150
      • 2009
        • P4445
      • 2008
        • N998
      • 2007
        • M775
      • F-350
        • 2008
          • N999
        • 2007
          • M777

      I want the data to be displayed in the table so that it Easy to view:

      Ford models | 2009. 2008 2007 --------------------------------------------- F-150 | P4445 | N998 | M775 F-350 | | N999 | M777

      I am completely lost to complete it or even if it is possible. If it was in a table format, it would be easy, but sadly, I can not change the structure of the data. What would be the best and most effective way to do this in WPF (maybe I have 70 models which I have to show once)?

Use the Tree View Control


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -