MVVM Light Messenger Class

给你一囗甜甜゛ 提交于 2019-11-30 15:11:19

问题


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


回答1:


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.




回答2:


Blog of Laurent Bugnion (GalaSoft)

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




回答3:


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



来源:https://stackoverflow.com/questions/2911171/mvvm-light-messenger-class

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!