private void BackButton_OnClick(object sender, RoutedEventArgs e) { if(MainPivot.SelectedIndex>0) MainPivot.SelectedIndex -= 1; }