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


IGxDocumentEvents Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (ArcCatalog)  

IGxDocumentEvents Interface

Provides access to events fired by ArcCatalog.

Product Availability

Available with ArcGIS Desktop.

Members

Description
Event ActiveViewChanged Fired when the active view changes.
Event CloseDocument Fired when a document is closed.
Event NewDocument Fired when a new document is created.
Event OnContextMenu Fired when 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 IGxDocumentEvents

CoClasses and Classes Description
ArcToolboxExtension (esriGeoprocessingUI)
GxDocument Esri ArcCatalog Application Document.
GxDocumentEvents Helper coclass for working with the nondefault outbound IGxDocumentEvents interface in VB.

Remarks

In Visual Basic and VBA use the IGxDocumentEventsDisp interface instead of IGxDocumentEvents.