private void GoBack(object sender, RoutedEventArgs e) { // Use the navigation frame to move to the previous page if (frame.CanGoBack) frame.GoBack(); }