WP7: Pass parameter to new page?

前端 未结 5 1138
礼貌的吻别
礼貌的吻别 2020-12-01 07:49

In a Windows Phone 7 Silverlight application I call a new page using

NavigationService.Navigate(new Uri(\"/View/SecondPage.xaml\", UriKind.Relative));
         


        
5条回答
  •  眼角桃花
    2020-12-01 08:30

    take a look how I've implemented navigation in PhoneCore Framework: A framework for building of WP7 application. Shortly, I've built my navigation service on top of WP7 navigation. It uses custom page mapping and allows to pass custom parameters to view model automatically.

提交回复
热议问题