private void ForwardButton_Click(object sender, RoutedEventArgs e) { if (RootFrame.CanGoForward) { RootFrame.GoForward(); } }
/// <summary> /// Navigates forward to next screen /// </summary> public void GoForward() { if (CanGoForward) { RootFrame.GoForward(); } }
/// <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; } }
/// <summary> /// Navigates forward to next screen /// </summary> public void GoForward() { RootFrame.GoForward(); }