How to Navigate to a page in Windows Phone 8.1 ?

If you are working on the Windows Phone 8.1 or Universal App and wish to navigate to a page from the current page , you can use the Frame.Navigate method.

How to Navigate to a page in Windows Phone 8.1 ?

Below is a sample code snippet demonstrating how to navigate from the current page to the “Page2” in Windows Phone 8.1 XAML Page (Windows Runtime Page).

Frame.Navigate(typeof(Page2)); 

If you want to pass the pass the data from the page to the page 2 , you can use the second parameter of the Navigate method.

Customer emp = new Customer { ID = 100, Name = "Ginktage" };
Frame.Navigate(typeof(SecondPage), emp );

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

In this post, you’ll learn about the Win32 Error “0x000019E5 – ERROR_COULD_NOT_RESIZE_LOG” that you get when debugging system erors in...
In this post, you’ll learn about the error “CO_E_DBERROR 0x8004E02B” that is returned when working with COM based APIs or...
In this post, you’ll learn about the Win32 Error “0x000019D0 – ERROR_LOG_BLOCK_VERSION” that you get when debugging system erors in...