locked
Metro App navigation if use seprate page for listbox RRS feed

  • Question

  • I am using a separate form for my listbox  with my metro apps, due to the real estate it would take up on the main page. I am using the Basic Page, with the backbutton using the page root..   With my listbox, I want to automatically return to the main page once the user makes a selection. But that messes up my rootpage navigation..

    If I go from main page to the listbox page, and make a selection, thus returning by code to the mainpage. Then if I hit the back button, I do not return to the menu, I first return to the listbox page, then back to the mainpage, then go to the menu page..

    I was hoping using the blank page wouldn't place the move to the listbox & back into the pageroot navigation, but it does..

    Is there a different way to navigate to the pages rather then       Frame.Navigate(typeof(Page));

    Or is a way in C# to tell it to navigate to the previous page, as if you hit the back button.


    Wenda

    Friday, August 9, 2013 11:43 AM

Answers

  • Got it!

    this.Frame.GoBack();


    Wenda

    • Proposed as answer by Ramprasath R Saturday, August 10, 2013 8:30 AM
    • Marked as answer by Anne Jing Wednesday, August 14, 2013 12:27 PM
    Friday, August 9, 2013 12:39 PM