4
votes

I have an existing Silverlight application where Page.xaml has some buttons on it that load user controls into a TransitioningContentControl content host. Each of these user controls is bound to a viewmodel. Sometimes when changes are made to one user control, data in others would need to be updated. I have been looking at using the event aggregator in Prism but don't really want to have to convert everything to a shell, modules etc. Is there any way for me to add event aggregation without going to Prism?

2

2 Answers

4
votes

You can use the EventAggregator from Prism on its own - no changes to your application are required to accommodate it - or you could use an alternative such as Messenger from the MVVM Light Toolkit. Links to further alternatives and discussion can be found on Jeremy D. Miller's blog.

1
votes