ArcObjects Library Reference (ArcMapUI)  

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