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

Popular posts from this blog

c - Calling a function within a loop -

vb.net - Unbound DataGridView add row with checkbox error -

How i fill combobox items in Radgridview manually using in vb.net -