I am having trouble trying to display hiearchical data under each node in two different ways depending on the data. I hope someone will be able to provide me some help on this since I am rather new to WPF development.
Maybe I am going about this all wrong but for now, I am trying to create a customized TreeView to represent data similar to the xml I provided in the code below. The <ItemsPresenter/> instances listed in the code are not exactly doing what I need. I will probably need to filter the content that I list with each of the two <ItemsPresenter/> tags based on the type of each item although I have no idea if this is possible.
Title="Window1" Height="300" Width="300">
* The "xmlData" describe roughly the type of data that I require visual
* Since I could not find a WPF Control that will present a Hierachical Data Template
close to what we need, I am trying to setup a TreeView to represent this
information by using a ControlTemplate for TreeViewItem.
* The preferred result is to present different items types in
View Complete Post