MVVM - what is the ideal way for usercontrols to talk to each other

Posted by Sandbox on Stack Overflow See other posts from Stack Overflow or by Sandbox
Published on 2009-11-25T17:30:42Z Indexed on 2010/03/12 5:57 UTC
Read the original article Hit count: 237

Filed under:
|
|

I have a a user control which contains sevral other user controls. I am using MVVM. Each user control has a corresponding VM. How do these user controls send information to each other. I want to avoid writing any code in the xaml code behind. Particularly I am interested in how the controls (inside the main user control) will talk to each other and how will they talk to the container user control.

EDIT: I know that using events-delegates will help me solve this issue. But, I want to avoid writing any code in xaml code-behind.

© Stack Overflow or respective owner

Related posts about wpf

Related posts about mvvm