wp (4) of the page jump

1, page jump

In the control properties  NavigateUri = "/ MainPage.xaml" settings need to jump page.

Or use this.NavigationService.Navigate (new new Uri ( "/ the MainPage .xaml", UriKind.Relative)); jump to the page.

2 Back

You may be used NavigationService.GoBack (); return to the previous page. Note that, before use judgment,

if (this.NavigationService.CanGoBack)  

{

NavigationService.GoBack();  

}

Previous avoided because there is no cause errors. 


Learning, and if wrong supplement, hoping to point out, thank you ~ ~ ~ ~!

Published 27 original articles · won praise 53 · views 160 000 +

Guess you like

Origin blog.csdn.net/auspi12341/article/details/9220581