Group caption change on map view change

253
1
09-03-2020 11:47 PM
by Anonymous User
Not applicable

Hi Wolfgang Kaiser‌,

Related to this question you answer for me before Loadonclick button - ribbon bar 

The user want to display the map name on Group caption which that ribbon button belongs to.

I manage to change once on project load 

FrameworkApplication.GetPlugInWrapper("Groupid").Caption = $"Map: {MapView.Active.Map.Name}";

However subsequent MapViewActivateEvent does not seem to be affective.

When I debug, the caption property is updated but the ribbon UI does not update.

How shall I make it affective? 

Tags (1)
0 Kudos
1 Reply
by Anonymous User
Not applicable

Any thought Wolfgang Kaiser‌? 

Is that only one time change allowed?

And I am using ArcGIS pro sdk 2.5

0 Kudos