9

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

Amsakanna
  • 12,254
  • 8
  • 46
  • 58

3 Answers3

8

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
  • 3,832
  • 2
  • 14
  • 6
  • 1
    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 – Amsakanna May 28 '10 at 11:27
0

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

Stef Heyenrath
  • 9,335
  • 12
  • 66
  • 121