By using ActiveMapViewChangedEvent subscribe method (ActiveMapViewChangedEvent ), i am able to change/activate my ribbon/tab based on the active map view.
Now we want to implement opposite communication. i.e whenever we change the ribbon/tab, the corresponding MapView has to get activate.
I have tried to use ArcGIS.Desktop.Framework.Events.ActivePaneChangedEvent.Subscribe(OnActivePanChanged) and ActiveWindowChangedEvent.Subscribe(OnActiveWindowChanged) options. But these two methods are not getting fired when we change the ribbon/tab.
Appreciate your help on this. Thank you.