开发者

Windows Phone 7 - missing overload for NavigationService.Navigate(object)

开发者 https://www.devze.com 2023-03-24 20:39 出处:网络
I would like to use the NavigationService to create a nice navigation stack in a Windows Phone 7 app.It seems I can accomplish the objective in SilverLight by using the NavigationService.Navigate(obje

I would like to use the NavigationService to create a nice navigation stack in a Windows Phone 7 app. It seems I can accomplish the objective in SilverLight by using the NavigationService.Navigate(object) method and passing an object similar to the PhoneApplicationPage.

B开发者_如何学Goased on the searching I've done, Windows Phone 7 only allows use of the NavigationService when the desired output is provided in XAML. I would like to pass the NavigationService an object I created using C# syntax and not XAML.

Does anyone have a suggestion?


When developing for Windows Phone, there is only one signature for NavigationService.Navigate and that is NavigationService.Navigate(Uri). You're probably reading the documentation for WPF.

0

精彩评论

暂无评论...
验证码 换一张
取 消