简体   繁体   中英

windows phone app navigating to an instance of page

can i use navigation service to navigate to object of page in windows phone 8 unlike giving a Uri like

this.NavigationService.Navigate(new Page1());

instead of

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

No you can't.

The method this.NavigationService.Navigate takes only one parameter which is a Uri .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM