|  | This document is archived and information here might be outdated. Recommended version. | 
| ArcObjects namespaces > ArcMapUI > ESRI.ArcGIS.ArcMapUI > Interfaces > ID > IDocumentEvents Interface (ArcObjects .NET 10.4 SDK) | 
Provides access to events that occur in ArcMap.
| Description | ||
|---|---|---|
|  | ActiveViewChanged | Fired when the active view changes. | 
|  | BeforeCloseDocument | Fired before a document is closed. Return True to abort the close process. | 
|  | CloseDocument | Fired when a document is closed. | 
|  | MapsChanged | Fired when a change is made to the map collection. | 
|  | NewDocument | Fired when a new document is created. | 
|  | OnContextMenu | Indicates if a context menu should be displayed at the given xy location. Return true if handled. | 
|  | OpenDocument | Fired when a document is opened. | 
| CoClasses and Classes | Description | 
|---|---|
| Adjustment (esriEditorExt) | The Adjustment Tools Editor Extension. | 
| ArcToolboxExtension (esriGeoprocessingUI) | |
| BAImageInsetWindow | Window to display BAImageInsets. | 
| CadastralEditorExtension (esriCadastralUI) | Cadastral Editor Extension Object. | 
| DataGraphWindow | Window in hosting and displaying data graph. | 
| DocumentEvents | Helper coclass for working with the nondefault outbound IDocumentEvents interface in VB. | 
| FindWindowUI | Window to display Find dialog in. Deprecated. Please consider using the IFind interface in the Carto library instead. | 
| FMEAnnotation (esriDataInteropUI) | FMEAnnotation Class | 
| GpsExtension | The GPS extension object. | 
| HistoryViewerWindow | History Viewer Window | 
| ImageInsetWindow | Window to display ImageInsets. | 
| LocatorExtension (esriLocationUI) | An extension for locators in ArcMap. | 
| MapInsetWindow | Window to display MapInsets. | 
| MetadataViewWindow | MetadataViewWindow class used to display the metadata of selected layer's data source. | 
| MxDocument | Esri Mx Document. | 
| NADirectionsWindowManager (esriNetworkAnalystUI) | Network Analyst Directions Window Manager Class. | 
| NAWindow (esriNetworkAnalystUI) | The network analysis window. | 
| NetworkAnalystExtension (esriNetworkAnalystUI) | The extension for network analysis. | 
| OverviewWindow | Window to display Overviews. | 
| Publisher (esriPublisherUI) | The Publisher Extension coclass. | 
| ReportSelection | Captures selection change, and reports this on the status bar. | 
| TableProperties | Table window properties. | 
| TimeControl (esriTrackingAnalystUI) | The Playback Manager Control. | 
| TOCCatalogView | Esri TOC Catalog View. | 
| TOCSelectionView | Esri TOC Selection View. | 
| TxGPSConnector (esriTrackingAnalystUI) | An object used to establish the connection between a temporal feature class and a locally connected GPS device. |