Query on MVVM pattern in WPF?
- by Ashish Ashu
I am implementing a MVVM pattern in my WPF application.
My application main window is divided into four parts:
Main Menu On the Top
Outlook Navigation Control on the Left.
A List View on the Middle.
Another List view on the bottom.
The Navigation control shows different setting (configuration) controls in the Tab items.
All the four above are user controls which are placed in the main window.
And corresponding to each user control there is separate view model which is bounded with a view model in the XAML of each control, however the model class remain the same between all the view model.
And a MainWindow has a seperate View Model which is also bounded with a view model in the XAML of each control.
Please help me out in framing a design in which each view models of all the controls above will interact with each other.
Please let me know if my question is not clear to you!!