How to get current displayed page object during navigation form one page to other?

There is no way to get the details of the page that was last opened automatically. You will have to do this yourself There are 2 common approaches to this: Use a global variable to store that last viewed page Use a messaging system to inform the MainPage which page was displayed last.

There is no way to get the details of the page that was last opened automatically. You will have to do this yourself. There are 2 common approaches to this: Use a global variable to store that last viewed page.

Use a messaging system to inform the MainPage which page was displayed last.

Just to add to 2. That it's quite common to use "query parameters" on the navigation address to do the message - as the NavigationService will always be able to give you the current url - CurrentSource – Stuart Mar 22 at 11:46 @Stuart but that doesn't work for going back, only for going forward. – Matt Lacey Mar 22 at 11:53 @Matt - eh?

Why not? I use query params in overflow7 - each page just responds to the checks in OnNavigatedTo() and the bookmark tracker is a singleton object that just checks NavigationService. CurrentSource (got to admit that I don't 100% understand the English in the OP though!) – Stuart Mar 22 at 11:55 @Stuart so if you navigated from page1 to page 2 and pass qry string params you can still see those when you later navigate back to page 1?

– Matt Lacey Mar 22 at 12:47 No - of course not - but not sure that's what the OP wants from "current opening page" - guess we'll have to wait and see :) – Stuart Mar 22 at 12:55.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions