Windows Phone 7页面导航的方法
在继承PhoneApplicationPage的类中可以使用NavigationService提供的导航方法Navigate,即代码如下:
this.NavigationService.Navigate(new Uri("/newPageName.xaml
", UriKind.Relative));
注意第二个参数是UriKind.Relative
NavigationService.Navigate Method
Navigates to the content specified by the uniform resource identifier (URI).
Namespace: System.Windows.Navigation
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Syntax