I want to Clear my Navigation Back Stack History ...
I tried to use this.NavigationService.RemoveBackEntry();
but It didn't work.
How could I do this in Windows 10?
If you're in page code behind, have you tried doing:
this.Frame.BackStack.Clear();
or if you're somewhere else (like a ViewModel), have you tried:
var frame = Window.Current.Content as Frame;
frame.BackStack.Clear();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With