Query on MVVM design pattern on WPF.

Posted by Ashish Ashu on Stack Overflow See other posts from Stack Overflow or by Ashish Ashu
Published on 2010-03-08T08:42:41Z Indexed on 2010/03/08 9:06 UTC
Read the original article Hit count: 904

Filed under:
|
|

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!!

© Stack Overflow or respective owner

Related posts about wpf

Related posts about wpf-controls