How does Windows 8 manage a stack of Pages in a Frame?
And how can I clear the whole stack programmatically, as in I need to \'pop\' all pages in a stack and return
In the Common/LayoutAwarePage.cs there is the following GoHome() function (in addition to the GoBack() function used with the Click-event on the standard Back button):
// Use the navigation frame to return to the topmost page
if (this.Frame != null)
{
while (this.Frame.CanGoBack) this.Frame.GoBack();
}