Alternate Method to Navigate from Page in Windows Phone 8 using C#

The NavigationService.Navigate method i.e. generally used to navigate from one page to another page in Windows Phone 8 SDK. The NavigationService also exposes a property “Source” which can be used to Get/Set the URI of the page . By Setting this property, the Application Frame loads the specified page.

Alternate Method to Navigate from Page in Windows Phone 8 using C#

Below is a sample code snippet demonstrating the usage of the NavigationService. Source property

private void Button_Click_1(object sender, RoutedEventArgs e)

{

NavigationService.Source = (new Uri("/ACCode.xaml",UriKind.RelativeOrAbsolute));

}