Navigating Between Pages

Although simple apps might have only one Page per window, most windows in real-world apps leverage multiple Pages. The XAML UI Framework contains quite a bit of functionality to make it easy to navigate from one page to another (and back), much like in a Web browser. Visual Studio templates also give you a lot of code in a Common folder to handle many small details, such as applying standard keyboard navigation to page navigation, and automatic integration of session state.

Although a Blank App project is given a single page by default, you can add more pages by right-clicking the project in Solution Explorer then selecting Add, New Item..., and one of the many Page choices. The different choices are mostly distinguished ...

Get Universal Windows® Apps with XAML and C# Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.