Windows Phone Apps: Xaml Navigation

(It wasn’t easy to search for this since keywords are so context insensitive..)

The following command allows us to navigate to different “pages” in the Windows 7 app.

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

The following command navigates to a Xaml page in a different assembly:

//Navigate to a page in an external referenced assembly

NavigationService.Navigate(new Uri("/NavigationTestProject;component/MainPage.xaml", UriKind.Relative));

Advertisements

About vijayvepa

I'm a software consultant for Software Specialists Inc. currently working at Philips Respironics, Pittsburgh

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: