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
Post a Comment