I am trying to learn MVVM, while it is going well, I came across a situation that I do not know how to implement.
What I want: - View from the left navigation bar and the right information. The right side will contain a content container that will contain my user controls for the views that will be selected by the left panel
What I have: - MainViewModel - ViewModels for each of the objects that I have in my database
My problem: - Since I will have an ObservableCollection of my VIEWMODELS in my MAINVIEWMODEL (as in the example, I draw my application), I create a public property for each of my MODEL objects that will be used to bind the data that I defined in my UserControls? ?
source
share