Part 7 - Understanding the Navigation Model

Sign in to queue

The Discussion

  • User profile image
    John Snow

    Bob,
    I've notice that all the pages you open default to the background including the space for the status back. Is there a settings in the options page that I missed in the intro that set that for you?

  • User profile image
    parosa

    Hi,

    It seems that there's a little misunderstanding here...

    I've been watching the videos from the series Building Apps for Windows Phone 8.1 Jump Start. On the third video of that series 03 - Page Navigation and Data Binding in Windows Runtime Apps, I learned that the behavior of the phone's hardware back button on Windows Phone Store apps differs from behavior on Windows Phone Silverlight apps.

    The behavior you talk about on the current video, e.g. the hardware back button navigates to the previous page on the app, is for Windows Phone Silverlight apps.

    The correct behavior for Windows Phone 8.1 Store apps, is that the phone's hardware back button allways navigates the user to the phone's start screen (the app is thus suspended), unless the app has the proper code to hook to the back button's event and change that behavior.

    Please have a look of on this video to see the difference from what you said on your video.

    https://channel9.msdn.com/Series/Building-Apps-for-Windows-Phone-8-1/03

    Cheers,

     

     

     

     

  • User profile image
    majid

    i try to navigate between home page and setting page and type frame.navigate(typeof(setting));
    but has error:
    system.windows.control.fram does not contain a definition for navigate

    please help me
    this is my first app

  • User profile image
    majid

    i try to navigate between home page and setting page and type frame.navigate(typeof(setting));
    but has error:
    system.windows.control.fram does not contain a definition for navigate

    please help me
    this is my first app

  • User profile image
    ThiagoBaltar

    Hi Bob.

    I literally just got started developing apps and I opted for Windows Phone 8.1.

     

    My question is how would I use the Back button of the phone to go back to the last page?

    Everytime I try, it returns to the emulator initial page.

     

    I tried using the HardwareButtons but unsuccessfully.

     

    Cheers.

  • User profile image
    bilalmustafa

    Bob, 

    how to use querystring in windows phone 8.1??

  • User profile image
    rajat tanwar

    how to close the app on hardware back button click in windows phone 8.1 app in visual studio 2013 proffessional

  • User profile image
    Marios Katsis

    @majid
    The frame.navigate(typeof(setting)); is not right
    You have to write
    Frame.Navigate(typeof(setting));

  • User profile image
    SAKHAWATSUM​IT

    It's little bit off topic,
    i was trying to navigate page in WPF.
    using 

    void startButton_Click(object sender, RoutedEventArgs e)
    {
    this.NavigationService.Navigate(new(Manu));
    }

    but it showing "MainWindow does not contain any definition of NavigationService".

    please help.

     

  • User profile image
    Somir Saikia

    Navigation between pages:-

    If Navigate from:-
    Page_1--> Page_2 --->Page_3 --> Page_1
    Using buttons and
    Frame.Navigate(typeof(Page_1));
    Always opens new pages where as it should reopen the previous Page_1.
    Is there any other method for Navigating between Pages?

Add Your 2 Cents