This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IP > IPageLayoutControlEvents Interface > IPageLayoutControlEvents.OnFocusMapChanged Event (ArcObjects .NET 10.5 SDK) |
Fires when the current focus map in the PageLayoutControl has been switched to a new map.
[Visual Basic .NET] Public Event OnFocusMapChanged As OnFocusMapChangedEventHandler
[C#] public event OnFocusMapChangedEventHandler OnFocusMapChanged
[C++]
HRESULT OnFocusMapChanged(
void
);
The OnFocusMapChanged event is based upon the IActiveViewEvents::FocusMapChanged event. The event is fired whenever a new map is made active. If a Map Document has been loaded into the PageLayoutControl that contains multiple map frames, the event will be triggered when the IActiveView::FocusMap property is changed.