Esempio n. 1
0
 private void ForwardButton_Click(object sender, RoutedEventArgs e)
 {
     if (RootFrame.CanGoForward)
     {
         RootFrame.GoForward();
     }
 }
Esempio n. 2
0
 /// <summary>
 /// Navigates forward to next screen
 /// </summary>
 public void GoForward()
 {
     if (CanGoForward)
     {
         RootFrame.GoForward();
     }
 }
Esempio n. 3
0
 /// <summary>
 ///
 /// </summary>
 public static void NavigateForward()
 {
     if (RootFrame.Content != null && RootFrame.CanGoForward)
     {
         RootFrame.GoForward();
     }
 }
 /// <summary>
 /// Ovveride with logic as to what happens when <see cref="IGestureService.GoForwardRequested"/> is fired,
 /// by default it will call <see cref="Frame.GoForward()"/> if its possible.
 /// </summary>
 protected virtual void OnGoForwardRequested(object sender, GestureEventArgs e)
 {
     if (!e.Handled && RootFrame.CanGoForward)
     {
         RootFrame.GoForward();
         e.Handled = true;
     }
 }
Esempio n. 5
0
 /// <summary>
 /// Navigates forward to next screen
 /// </summary>
 public void GoForward()
 {
     RootFrame.GoForward();
 }