摘要:
在WP7 APP的开发中,页面之间的跳转是一个再常见不过的操作啦,在Xaml中能实现,在Xaml背后的cs文件中用NavigationService能实现,但是在使用MVVM开发模型之后,在ViewModel中就不如前面的实现起来直观了。 其实在ViewModel中实现页面的跳转也很简单,下面的代码:using Microsoft.Phone.Controls;var root = App.Current.RootVisual as PhoneApplicationFrame;root.Navigate(new Uri("/NextPage.xaml", UriKind.R 阅读全文
posted @ 2011-12-30 11:23
锦燕云
阅读(2800)
评论(18)
推荐(6)
浙公网安备 33010602011771号