This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > PublisherControls > ESRI.ArcGIS.PublisherControls > Interfaces > IA > IARControlEvents Interface > IARControlEvents.OnCurrentViewChanged Event (ArcObjects .NET 10.5 SDK) |
Fires when the current view type is changed.
[Visual Basic .NET] Public Event OnCurrentViewChanged As OnCurrentViewChangedEventHandler
[C#] public event OnCurrentViewChangedEventHandler OnCurrentViewChanged
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.