Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Define dependency between nodes in WPF TreeviewItem

$
0
0

Hi Folks.

I am newbie to WPF.Working on treeview with MVVM pattern.Currently I am binding xml data to Treeview ItemsSource.(Treeview with checkbox).

How can I define dependency between nodes like 

A
---B
---C
---D
E
---F
---G
---H
I
---J

If I select B treeviewitem then F should also get auto selected.How and where to define the relationship between nodes. and how to implement using MVVM pattern


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>