wp 页面跳转(转)

来源:互联网 发布:网络合同app 编辑:程序博客网 时间:2024/06/04 18:07

移动应用软件通常需要多个Page来实现不同的功能,并且不同的Page之间通常存在着一定的逻辑关系。

所以移动开发一项必不可缺的基本技能就是如何实现页面跳转,下面以wp开发为例,为大家介绍页面跳转。

wp使用页面Navigation跳转,如跳转到Page.xaml 页面:


this.NavigationService.Navigate(new Uri("/Page.xaml",UriKind.Relative));


NavigatioService 还提供两个常用的函数,GoBack()、GoForward()。


this.NavigationService.GoBack(); 向后跳转。

this.NavigationService.GoForward(); 向前跳转。




蒋继发

2013/5/16

原文地址http://blog.csdn.net/wpjjf123/article/details/8936824

原创粉丝点击