2
你好在UWP我可以導航到像另一個頁面:如果我要檢索的對象UWP頁面導航indentifier
Frame.Navigate(typeof(AnotherPage), someObject);
和AnotherPage
:
protected override void OnNavigationTo(NavigationEventArgs e) {
SomeObject someObject = (SomeObject) e.Parameter;
//here I would like to know from what page I am navigating
}
你能告訴我怎麼找我從哪個頁面導航?謝謝。