Change MainPage

I want the app to open my custom “main page” instead of the stock MainPage on start. How do I do that?

Edit. Found a solution. Added a virtual device to the Home group, changed the tile so that when it is loaded the app opens my page. It works, but maybe there is a better way?

Edit 2. It worked in the designer but not in the app. It crashes on start. :neutral_face:

The 1st page you see in the app is the 1st item in the main page’s navigation menu. Set IsGroupsVisible to False if you’d like your custom page to be the 1st one shown. Then add a MenuItem for it to MainPage.xaml.

1 Like