private void LeftButton_Click(object sender, RoutedEventArgs e) { try { if (FrameNavigator.CanGoBack) { Numberpage--; FrameNavigator.GoBack(); RightArrowbutton.Kind = MaterialDesignThemes.Wpf.PackIconKind.ArrowRight; } } catch (Exception exception) { Console.WriteLine(exception); } }
private void ExecutedGoBackCommand(object sender, ExecutedRoutedEventArgs e) => FrameNavigator.GoBack(() => { return(new ListViewPage() { DataContext = DataContext }); });
private void _backToImageListButton_Click(object sender, RoutedEventArgs e) => FrameNavigator.GoBack(() => { return(new ListViewPage() { DataContext = DataContext }); });