Query on MVVM design pattern on WPF.
- by Ashish Ashu
I am using MVVM architecture.
I have a usercontrol UC as a View
Model is a ModelData class
ViewModel (UCViewModel) is binded to a usercontrol.
I have three more usercontrols that is inside the usercontrol UC ( discussed above).
Let's say uc1, uc2 and uc3.
and the visibility of uc1 , uc2 and uc3 inside UC depends on the type selected ( which ever radio button is selected ).
Since UC is binded to UCViewModel and I have to do all the stuff related to uc1 , uc2 and uc3 inside UCViewModel. Can I have seperate VM to uc1 , uc2 and uc3.. if Yes how can i do that ? Please Help!!