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

This blog post will guide you through several effective methods to troubleshoot and resolve the issue of Microsoft Edge not...
Windows 11 offers a range of audio enhancements that can enrich your listening experience. These enhancements include features like virtual...
Windows 11 brings a fresh and visually stunning design to your desktop, and one of the standout features is the...