locked
How to remove a page navigation history from frame RRS feed

  • Question

  • I know that in Windows Phone Program I can call NavigationService.RemoveBackEntry to remove the latest accessed page from back history,

    but i don't know how to make the same thing happen in Windows Store App, does anyone know how?

    Thanks.

    Wednesday, February 20, 2013 10:08 AM

Answers

  • You cannot remove a specific page from the history, only save out the current history as a whole or set a previously saved out state. You can use this to checkpoint any page by calling GetNavigationState and then you can return to that state with SetNavigationState.

    FlexMan's solution doesn't rely on remembering specific states, but just keeps going back until it gets to the start. It could stop at any point by breaking the loop earlier.

    --Rob

    Thursday, February 21, 2013 2:46 AM
    Moderator

All replies