tags:

views:

766

answers:

3

Can anybody provide samples/links/simple-illustrations/videos/demos on how to use the messenger class in MVVM Light?

+3  A: 

You should look into the source code of MVVM Light on CodePlex: http://mvvmlight.codeplex.com/SourceControl/changeset/view/47157

If you look into the samples, you will see that the CleanShutdown example uses the Messenger class.

MuSTaNG
@MuSTaNG: That was really helpful. This particular link explains it very well:http://blog.galasoft.ch/archive/2009/10/18/clean-shutdown-in-silverlight-and-wpf-applications.aspx
Veer
+2  A: 

Blog of Laurent Bugnion (GalaSoft)

MVVM light - how to access property in other view model on stackoverflow

CodeWeasel
Sweet example was that!!!
Veer
A: 

In the IssueVision.SL example application, the messenger pattern is used to catch menu clicks and let the mainpage switch the views.

Stef