0

I have a login page from which I go to another page with a splitview menu. In this menu there is an option for log out from the app. In this case, I want to go to the login page again, but I don't know how to charge that page in the full page (only charge the page in the content frame but the split view is still there). How can I clear/dismiss it? Thanks!

ketxua
  • 3
  • 2

1 Answers1

0

I don't know your implementation but this should work on any page:

this.Frame.Navigate(typeof(YourLoginPageType));

or this should work everywhere

Frame rootFrame = (Frame)Window.Current.Content;
rootFrame.Navigate(typeof(YourLoginPageType));
Marian Dolinský
  • 3,312
  • 3
  • 15
  • 29