This document is archived and information here might be outdated.  Recommended version.


IDocumentEventsDisp.ActiveViewChanged Event (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > ArcMapUI > ESRI.ArcGIS.ArcMapUI > Interfaces > ID > IDocumentEventsDisp Interface > IDocumentEventsDisp.ActiveViewChanged Event
ArcGIS Developer Help

IDocumentEventsDisp.ActiveViewChanged Event

Fired when the active view has changed.

[Visual Basic .NET]
Public Event ActiveViewChanged As ActiveViewChangedEventHandler
[C#]
public event ActiveViewChangedEventHandler ActiveViewChanged

Product Availability

Available with ArcGIS Desktop.

Remarks

There are two different view types in ArcMap--data view and page layout view. Only one type of view can be active in the application at a time; the one with the focus is the active view. The ActiveViewChanged event occurs when the active view is changed. For example, this event is fired when ArcMap is switched from data view to page layout view or vice versa.

See Also

IDocumentEventsDisp Interface