Hello,
I have some xml:
<Test>
<thing location="home" status="good"/>
<thing location="work" status="bad"/>
<thing location="mountains" status="good"/>
</Test>
The leaves on the TreeView are the values of the status attribute; the nodes will be the value of the location attribute.
├──bad
│.....└──work
└──good
.......├──home
.......└──mountains
Currently, I populate the TreeView (or Tab control) manually, iterating through the xml, adding the nodes to the appropriate leaf.
Can this be done via databinding? I'm guessing a Converter will be involved...
Thanks for any advice.