I have a .NET application dependent on ArcGIS 9.3.1 which I am upgrading to ArcGIS 10.2.
I have an AxMapControl sat in a panel in a Splitter on a tab. There is a legend which can be made to appear/disappear using the Show/Hide Map Legend button.
When the application is built against the ArcGIS 9.3.1 DLLs, the map expands to fill the available space if you hide the legend using the button. Nice!
However, when building against the ArcGIS 10.2 DLLs, the map does not expand if the legend is hidden. The map remains the same size and the legend vanishes to reveal a useless grey panel next to the map.
This seems to be a problem internal to the control. Does anyone have a workaround (other than reverting to the 9.3.1 DLLS)?