IDocumentEventsDisp Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > ArcMapUI > ESRI.ArcGIS.ArcMapUI > Interfaces > ID > IDocumentEventsDisp Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (ArcMapUI)  

IDocumentEventsDisp Interface

Provides access to events that occur in ArcMap.

Product Availability

Available with ArcGIS Desktop.

When To Use

Use the IDocumentEventsDisp interface to perform some action when the ArcMap document events occur.

Members

Name Description
Method ActiveViewChanged Fired when the active view has changed.
Method BeforeCloseDocument Fired before a document is closed. Return True to abort the close process.
Method CloseDocument Fired when a document is closed.
Method MapsChanged Fired when a change is made to the map collection.
Method NewDocument Fired when a new document is created.
Method OnContextMenu Indicates if a context menu should be displayed at the given xy location. Return true if handled.
Method OpenDocument Fired when a document is opened.
Method VBAReset Fired when VBA is reset.

CoClasses that implement IDocumentEventsDisp

CoClasses and Classes Description
MxDocument Esri Mx Document.