ArcObjects Library Reference (PublisherControls)  

IARControlEvents.OnCurrentViewChanged Event

Fires when the current view type is changed.

[Visual Basic 6.0]
Event OnCurrentViewChanged(
    ByVal pNewCurrentView As Object _
) As Empty
[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