AnsweredAssumed Answered

Change Active Map based on Active Ribbon

Question asked by pigili_sreenivasarao on Dec 11, 2019
Latest reply on Dec 19, 2019 by pigili_sreenivasarao

Hi All,

    

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.

Outcomes