Your sample code does not work. NullReferenceException on Frame rootFrame = Window.Current.Content as Frame in app.xaml.cs. A window is never instantiated, took me a short time to figure out your code but for beginners this is not good. You really need to review your docs as difficult as they are to understand at the best of times. Step by step examples that actually work would be a start.. #3918
Open
Description
[Enter feedback here]
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: d6e4472f-7231-24d4-8f12-749c77ad88a7
- Version Independent ID: 1ae40f60-8f77-ad7b-bb1e-0ae6000ac69c
- Content: Peer-to-peer navigation between two pages - Windows apps
- Content Source: hub/apps/design/basics/navigate-between-two-pages.md
- Product: reunion
- Technology: design
- GitHub Login: @jwmsft
- Microsoft Alias: jimwalk