c# - Clear Back Stack Navigation Windows 10 -
i want clear navigation stack history ...
i tried use this.navigationservice.removebackentry();
didn't work.
how in windows 10?
if you're in page code behind, have tried doing:
this.frame.backstack.clear();
or if you're somewhere else (like viewmodel), have tried:
var frame = window.current.content frame; frame.backstack.clear();
Comments
Post a Comment