Let’s experiment with a simple two-page app:

If we write a code behind of page 1 like this:

Will the line of code after the navigate method call be executed?

The answer is yes, as you can see from the next two pictures:

After starting the app:

After navigating to page 2 and back:

So when you call a navigate method, please remember that the calling method will be completed before leaving the page. As you can see by the use of isNewIstance flag, the page will remain in memory, until eventually disposed when the app is tombstoned.

That’s all, folks.

Happy Coding!

Windows Phone Template Selector, a Design Time Solution
Universal App with SQLite – Part 1