使用Mvvm-light(oobe)+ MEF的Silverlight导航? [英] Silverlight Navigation using Mvvm-light(oobe)+MEF?

查看:96
本文介绍了使用Mvvm-light(oobe)+ MEF的Silverlight导航?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在UserControls/Pages之间导航的最佳方法是什么(没有浏览器的经验)?我是Silverlight的新手,甚至是mvv​​m模式的新手.

What is the best approach for navigating between UserControls/Pages(out of browser experience)? I'm fairly new to Silverlight and even newer to the mvvm pattern.

导航框架与MVVM Light Toolkit集成的程度如何?两者通用的流控制代码片段会很棒.

How well does the Navigation Framework Integrate with the MVVM Light Toolkit? A snippet for general application flow control with the two would be great.

计划是将导航框架用于一般流程,或者使用Jeremy Likeness的区域管理方法( http://csharperimage.jeremylikness.com/search/label/regions ),并根据需要换出区域.我见过一些地方提到要取代视觉根",但这听起来像是对我的黑客.

The plan was to use the Navigation Framework for general flow or using Jeremy Likeness's approach to region management(http://csharperimage.jeremylikness.com/search/label/regions) and swapping out regions as needed. I've seen a few places mention replacing the Visual Root, but that sounded like a hack to me.

在一般方向上的任何建议,摘要或提示都将不胜感激.

Any advice, snippets, or a nudge in the general direction would be greatly appreciated.

谢谢.

推荐答案

您可能会发现以下有用的帖子: SL4导航带有MVVM Light的模板

You may find the following post useful: SL4 Navigation Template with MVVM Light

这篇关于使用Mvvm-light(oobe)+ MEF的Silverlight导航?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆