(X) Hide this Sign up for the upcoming webinar: Switching on the Cloud for Silverlight by Gill Cleeren. March 23rd, 11 am PST (check your local time)
Full info | Sign up | More webinars
Skip Navigation LinksHome / News / View News

Silverlight and Prism: Communication between two Views of the same Module using IEventAggregator

+ Add to SilverlightShow Favorites
0 comments   /   posted by Silverlight Show on Feb 02, 2011
(0 votes)

SilverlightShow Page for all Silverlight and Windows Phone 7 (WP7) things on Twitter In this article, Mahesh Sabnis shows how to establish communication between two Views of the same Module (intra-module) or two Views of different Modules in Silverlight 4 and Prism 4.

Source: Dot Net Curry

A lot of times, we think of using patterns in our Silverlight applications for implementing loose-coupling, modularity, reusability etc. Using MVVM/Prism can make this possible. Prism 4 has provided several features for implementing such type of applications. Typically Modularity is one of the most important segments in Prism. A Module contains application specific logic, models, views etc. We can say that our Prism enabled Silverlight application consist of several such Modules. In such cases, based upon a business requirement, it is necessary to establish communication between two Views of the same Module (intra-module) or two Views of different Modules. So the question is how we can achieve this.
Share


Comments

Comments RSS RSS
No comments

Add Comment

 
 

   
  
  
   
Please add 7 and 4 and type the answer here: