How can I close the current active Page in UWP development?
I want to start a new Page and close the current one, so the user cannot go back to that page. Is there any method in UWP similar to Android's method "finish()"?
How can I close the current active Page in UWP development?
I want to start a new Page and close the current one, so the user cannot go back to that page. Is there any method in UWP similar to Android's method "finish()"?
I think you should be able to do this by removing last page from back stack after navigating to a new one. Sample code in OnNavigatedTo of a new page:
This should prevent user from going back to last page. Of course you can modifay the back stack in many ways if you need.