benhorgen
benhorgen

Reputation: 1955

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

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.

Based 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?

Upvotes: 1

Views: 377

Answers (1)

keyboardP
keyboardP

Reputation: 69372

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.

Upvotes: 2

Related Questions