Hi,
We have an option to close our app in our Backstage panel:
var result = MessageBox.Show(unsavedChangesMsg, Properties.Resources.MessageBoxTitle_Confirmation, MessageBoxButton.OKCancel, MessageBoxImage.Question);
...if the user selected "Cancel" then the ribbon goes to last tab selected instead of staying in the backstage. The backstage isn't considered to be a tab it seems, so keeping it open is problematic it seems.
I've tried:
- Hiding all tabs.
- Unselecting all tabs.
- MasterRadRibbonView.SelectedIndex = -1;
- MasterRadRibbonView.SelectedItem = MasterRadRibbonView.Backstage;
- IsBackstageOpen = true; //databinding
...and a few other things, but when the screen comes back after the user exits out of the pop-up window, the last tab is loaded, when we want it to stay on the Backstage until the user selects a tab themselves.
Barry