protected override void OnNavigatingFrom(NavigatingCancelEventArgs e) { DataContext = null; NavMgr.DeregisterBackNav(); DisplayInformation.GetForCurrentView().OrientationChanged -= OnOrientationChanged; base.OnNavigatingFrom(e); }
protected override void OnNavigatingFrom(NavigatingCancelEventArgs e) { if (_initialized) { NavMgr.DeregisterBackNav(); } base.OnNavigatingFrom(e); }
protected override void OnNavigatedFrom(NavigationEventArgs e) { base.OnNavigatedFrom(e); NavMgr.DeregisterBackNav(); }
protected override void OnNavigatedFrom(NavigationEventArgs e) { DataContext = null; NavMgr.DeregisterBackNav(); }
protected override void OnNavigatedFrom(NavigationEventArgs e) { (DataContext as ProfilePageViewModel).Cleanup(); base.OnNavigatedFrom(e); NavMgr.DeregisterBackNav(); }