locked
How to navigate to a specific Page RRS feed

  • Question

  • Hi,

    I have a pivot page. Now I have a menu page. Instead of navaigating the user to the pivot page in the opening of the application I wanted the user to navigate to the menu page how do I do that?


    pratik

    Monday, April 7, 2014 6:17 PM

Answers

  • You have 2 Pages and you want to define which one will automatically load when the App starts?

    If so, in solution explorer, go to, Properties > WMAppManifest.xml.

    If you are in designer mode, go to Application and edit the "Navigation page", to the page you want to load when the App starts.

    Or, if you have code view, look for the "Task" Node and change the "NavigationPage" attribute of the default task.

        <Tasks>
          <DefaultTask Name="_default" NavigationPage="Page1.xaml" />
        </Tasks>

    • Proposed as answer by ChervineMVP Tuesday, April 8, 2014 9:13 PM
    • Marked as answer by Pratik99 Wednesday, April 9, 2014 2:29 AM
    Monday, April 7, 2014 7:38 PM