Hi guys
I have a huge problem for 2 weeks now
I am trying to create an application in WPF C# that reads in the xml file and
creates a XMLTreeVview tree. Now I managed to create a binding of my listview Items to the XMLTreeVview tree
but it doesnt have the capability to bind only the SPECIFIC Node Items. Like I have 2 list vies in ListView1 i want only the Folders to be binded and when i click on the specific folder the coresponding ITEMS will be binded twoway to the LISTVIEW2. can anyone please help me im getting readlly frustrated with this issue
here is the C# binding code
ListView2.ItemsSource = xtv.sourceXml.DocumentElement.ChildNodes;
XAML Code
<listview name="ListView2">
<listview.itemtemplate>
<datetemplate>
<textbox text="Binding InnerText" />
</datatemplate>
</listview.itemtemplate>
</listview>
here is the C# binding code for second ListView
XMLTreeVview xtv;
ListView1.ItemsSource = xtv.sourceXml.DocumentElement.ChildNodes;
XAML Code
<listview name="ListView1">
<listview.itemtemplate>
<datetemplate>
<textbox text="Binding FirstChild" />
<datatemplate>
</listview.itemtemplate>
</listview>
BUT what i really want here is the List of ONLY the Folders, so when i click on the folder then all the Inner Text/Item will appear in ListView2