Esempio n. 1
0
 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);
     }
 }
Esempio n. 2
0
 private void ExecutedGoBackCommand(object sender, ExecutedRoutedEventArgs e)
 => FrameNavigator.GoBack(() => { return(new ListViewPage()
     {
         DataContext = DataContext
     }); });
Esempio n. 3
0
 private void _backToImageListButton_Click(object sender, RoutedEventArgs e)
 => FrameNavigator.GoBack(() => { return(new ListViewPage()
     {
         DataContext = DataContext
     }); });