navigation - How to get the page that the user redirected from -


i develop app windows store , have navigation code this:

    frame.navigate(typeof(hubpage), datatopass); 

now, want able page name user redirected from.

for example have code above in more 1 page , want able in hubpage write code give me indication page user redurected.

i know can add page name in 'datatopass' var avoid this.

my question how can previuos page name?

in wp8.1 (windows store apps) can know previous page , whole stack of redirected pages below code.

var lastpage = frame.backstack.last().sourcepagetype 

backstack property more in context.


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -