MVVM轻信使类
任何人都可以提供有关如何在 MVVM Light 中使用信使类的示例/链接/简单插图/视频/演示吗?
Can anybody provide samples/links/simple-illustrations/videos/demos on how to use the messenger class in MVVM Light?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您应该查看 CodePlex 上 MVVM Light 的源代码:
http://mvvmlight.codeplex.com/SourceControl/changeset/view/47157
如果您查看示例,您将看到 CleanShutdown 示例使用 Messenger 类。
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.
Laurent Bugnion 的博客 (GalaSoft )
MVVM 轻 -如何在 stackoverflow 上访问其他视图模型中的属性
Blog of Laurent Bugnion (GalaSoft)
MVVM light - how to access property in other view model on stackoverflow
在 IssueVision.SL 示例应用程序中,信使模式用于捕获菜单点击并让主页切换视图。
In the IssueVision.SL example application, the messenger pattern is used to catch menu clicks and let the mainpage switch the views.