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


IDocumentEvents Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (ArcMapUI)  

IDocumentEvents Interface

Provides access to events that occur in ArcMap.

Product Availability

Available with ArcGIS Desktop.

Members

Description
Event ActiveViewChanged Fired when the active view changes.
Event BeforeCloseDocument Fired before a document is closed. Return True to abort the close process.
Event CloseDocument Fired when a document is closed.
Event MapsChanged Fired when a change is made to the map collection.
Event NewDocument Fired when a new document is created.
Event OnContextMenu Indicates if a context menu should be displayed at the given xy location. Return true if handled.
Event 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.
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.