WPF with MVVM and Prismv2 - Event Bubbling?

Posted by depictureboy on Stack Overflow See other posts from Stack Overflow or by depictureboy
Published on 2010-03-25T18:10:14Z Indexed on 2010/03/25 18:13 UTC
Read the original article Hit count: 518

Filed under:
|
|
|

What is the best way to get an event from a child or grandchild module up to the parent Shell?

For instance, if I have a view in a module that is actually 2 levels away from the Shell, and I have a Window behavior. Is the eventaggregator really the best way to do this? it seems like overkill. I just want my MainShell to watch for a change in the IsDialogOpen Property on the ViewModels in all my child modules. I feel like I am missing the trees for the forest...

© Stack Overflow or respective owner

Related posts about mvvm

Related posts about wpf