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


IARControlEvents.OnCurrentViewChanged Event (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (PublisherControls)  

IARControlEvents.OnCurrentViewChanged Event

Fires when the current view type is changed.

[Visual Basic .NET]
Public Event OnCurrentViewChanged As OnCurrentViewChangedEventHandler
[C#]
public event OnCurrentViewChangedEventHandler OnCurrentViewChanged

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

Description

The OnCurrentViewChanged event is triggered whenever the CurrentView is changed, such as when the LoadDocument, ReloadDocument, UnloadDocument methods are used or when the CurrentView property is explicitly changed or when the user interactively toggles the view.

See Also

IARControlEvents Interface