protected override void OnNavigatedTo(NavigationEventArgs e) { base.OnNavigatedTo(e); if (DataContext is INavigable NavigationViewModel) { if (NavigationViewModel != null) { NavigationViewModel.Activate(e.Parameter); } } SetupNavigationBackBtn(); SetupTitleBar(); if (GlobalPageKeyDown != null) { Window.Current.CoreWindow.KeyDown += CoreWindow_KeyDown; } }