private void ButtonBase_OnClick(object sender, RoutedEventArgs e) { Frame rootFrame = Window.Current.Content as Frame; rootFrame.GoBack(); } }