async void OnBackRequested(Microsoft.UI.Xaml.Controls.NavigationView sender, Microsoft.UI.Xaml.Controls.NavigationViewBackRequestedEventArgs args) { try { await _shell.Navigation.PopAsync(); } catch (Exception exc) { Internals.Log.Warning(nameof(Shell), $"Failed to Navigate Back: {exc}"); } UpdateToolBar(); }
private void NavigationView_BackRequested(Microsoft.UI.Xaml.Controls.NavigationView sender, Microsoft.UI.Xaml.Controls.NavigationViewBackRequestedEventArgs args) { FlyoutCloseRequest?.Invoke(this, new EventArgs()); }
private void NavView_BackRequested(NavigationView nv, NavigationViewBackRequestedEventArgs args) { BackRequestedStateTextBlock.Text = "Back was requested"; }
private void NavigationView_BackRequested(NavigationView sender, NavigationViewBackRequestedEventArgs args) { OverlayService.GetForCurrentView().CloseOverlay(); }
private void MainNav_BackRequested(Microsoft.UI.Xaml.Controls.NavigationView sender, Microsoft.UI.Xaml.Controls.NavigationViewBackRequestedEventArgs args) { OnBackRequested(); }
private void OnNavigationView_BackRequested(Microsoft.UI.Xaml.Controls.NavigationView sender, Microsoft.UI.Xaml.Controls.NavigationViewBackRequestedEventArgs args) { this.MainFrame.GoBack(); }
private void NavView_BackRequested(Microsoft.UI.Xaml.Controls.NavigationView sender, Microsoft.UI.Xaml.Controls.NavigationViewBackRequestedEventArgs args) => TryGoBack();
private void NavView_BackRequested(Microsoft.UI.Xaml.Controls.NavigationView sender, Microsoft.UI.Xaml.Controls.NavigationViewBackRequestedEventArgs args) { if (ContentContainer.CanGoBack == true) { ContentContainer.GoBack(); } }
private void SettingsPane_BackRequested(Microsoft.UI.Xaml.Controls.NavigationView sender, Microsoft.UI.Xaml.Controls.NavigationViewBackRequestedEventArgs args) { GoBack(); }
private void MainNavigationView_BackRequested(Microsoft.UI.Xaml.Controls.NavigationView sender, Microsoft.UI.Xaml.Controls.NavigationViewBackRequestedEventArgs args) => NavigateEmptyPage();
private void Header_BackRequested(Microsoft.UI.Xaml.Controls.NavigationView sender, Microsoft.UI.Xaml.Controls.NavigationViewBackRequestedEventArgs args) { Frame.GoBack(); }
private void nvwMenu_BackRequested(Microsoft.UI.Xaml.Controls.NavigationView sender, Microsoft.UI.Xaml.Controls.NavigationViewBackRequestedEventArgs args) { frmPrincipal.GoBack(); }
private async void NavView_BackRequested(Microsoft.UI.Xaml.Controls.NavigationView sender, Microsoft.UI.Xaml.Controls.NavigationViewBackRequestedEventArgs args) { await On_BackRequested(); //UiNotificationService.Previous(UiNotificationService.CreateRequestForBackup()); }
private void BackButtonRequested(Microsoft.UI.Xaml.Controls.NavigationView sender, Microsoft.UI.Xaml.Controls.NavigationViewBackRequestedEventArgs args) { _context.DisableBackButton(BackButtonRequested); IsPaneVisible = true; var e = new NavigationRequestedEventArgs(Page, true); // now pop the page back OnPopRequested(e); }
private void SettingsPane_BackRequested(Microsoft.UI.Xaml.Controls.NavigationView sender, Microsoft.UI.Xaml.Controls.NavigationViewBackRequestedEventArgs args) { Frame rootFrame = Window.Current.Content as Frame; rootFrame.Navigate(typeof(InstanceTabsView)); }
private void settingNavView_BackRequested(Microsoft.UI.Xaml.Controls.NavigationView sender, Microsoft.UI.Xaml.Controls.NavigationViewBackRequestedEventArgs args) { General.IsSelected = true; App.Settings.ShowSettings = false; }
/// <summary> /// Navigates the frame to the previous page. /// </summary> private void NavigationView_BackRequested(Microsoft.UI.Xaml.Controls.NavigationView sender, Microsoft.UI.Xaml.Controls.NavigationViewBackRequestedEventArgs args) { if (AppFrame.CanGoBack) { AppFrame.GoBack(); } }
private void nvSample_BackRequested(Microsoft.UI.Xaml.Controls.NavigationView sender, Microsoft.UI.Xaml.Controls.NavigationViewBackRequestedEventArgs args) { if (ContentFrame.CanGoBack == true) { ContentFrame.GoBack(); } }