private void Button_Click(object sender, RoutedEventArgs e) { // navigate back to main page NavigationService.GoBack(); }