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


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

IDocumentEvents Interface

Provides access to events that occur in ArcMap.

Product Availability

Available with ArcGIS Desktop.

Members

Name Description
Method ActiveViewChanged Fired when the active view changes.
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.

CoClasses that implement IDocumentEvents

CoClasses and Classes Description
Adjustment (esriEditorExt) The Adjustment Tools Editor Extension.
ArcToolboxExtension (esriGeoprocessingUI)
BAImageInsetWindow Window to display BAImageInsets.
CadastralEditorExtension (esriCadastralUI) Cadastral Editor Extension Object.
ColorCorrectionDockWin The Color Correction Tools Dockable Window.
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.
PixelInspectionDockWin The Pixel Inspection Dockable Window.
Publisher (esriPublisherUI) The Publisher Extension coclass.
RasterToolsDockWin The Raster Tools Dockable Window.
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.