使用MVVM导航 [英] Navigation using MVVM

查看:125
本文介绍了使用MVVM导航的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我已经使用MVVM设计模式已有一段时间了,但是在不使用每页背后的代码的情况下,在视图之间进行导航相当困难.

是使用MVVM进行导航的任何简便方法吗?

预先感谢.

Hi All,

I have been using the MVVM design pattern for a while now but find it rather challenging to navigate from view to view without using the code behind for each page.

Is their any easy way to navigate using MVVM.

Thanks in advance.

推荐答案

我可以建议看看:
http://wildermuth.com/2009/05/22/Which_came_first_the_View_or_the_Model [ http://compositewpf.codeplex.com/ [ ^ ]

有关该主题的大量信息.
Can I suggest looking at:
http://wildermuth.com/2009/05/22/Which_came_first_the_View_or_the_Model[^]

And then maybe taking a look at the prism framework:
http://compositewpf.codeplex.com/[^]

Lots of information available on this topic.


这篇关于使用MVVM导航的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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