Cannot seem to communicate between views
- by devnet247
Hi all
I have written a MVVM prototype as a learning exercise and I am struggling to understand how I can communicate between views.Let me explain
I have a treeview on the left (leftSideView)
ListView on the right (rightSideView)
MainWindow (includes the 2 views mentioned above and a splitter)
What I have implemented does not work and I would like you if you can point out where I am going wrong or if there is a better way of doing it.
you can download the quick prototype from here
http://cid-9db5ae91a2948485.skydrive.live.com/self.aspx/.Public/WpfCommunicationBetweenViews.zip
For sure I am doing something wrong with the bindind.
Also it would be nice to learn how you do it. EG
ListBox on left (one view) ListView On the right (another view) how u communicate between the two.
Thanks a lot of any suggestions