This project is read-only.

How to keep trace of the opened RibbonTabItems

Aug 4, 2010 at 12:43 PM

In my application I need to get the last active ribbon tab item. So when I close a ribbon tab item I need to be redirected the precedent active ribbon tab item, instead I'm thrown to the first ribbon tab idem.

Aug 4, 2010 at 3:34 PM
Hmm, the right behavior is 'throwing' to the first ribbon tab item. However, Ribbon has the event SelectedTabChanged, maybe it will help you. Daniel
Aug 5, 2010 at 6:46 AM

Thank you for your reply. I have found the way to hanle this situation.

Aug 12, 2010 at 5:17 AM
Can you share what you did, I am also getting the same issue
Aug 12, 2010 at 7:29 AM

First of all I have created a Stack of RibbonTabItems, then a added a handler for SelectedTabChanged event. In this handler I add in the mu stack the current SelectedTab. In this way I keep the trace of all selected tabs.