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

IGxDocumentEvents Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > ArcCatalog > ESRI.ArcGIS.ArcCatalog > Interfaces > IG > IGxDocumentEvents Interface
ArcGIS Developer Help

IGxDocumentEvents Interface

Provides access to events fired by ArcCatalog.

Product Availability

Available with ArcGIS Desktop.


Name Description
Method ActiveViewChanged Fired when the active view changes.
Method CloseDocument Fired when a document is closed.
Method NewDocument Fired when a new document is created.
Method OnContextMenu Fired when a context menu should be displayed at the given xy location. Return true if handled.
Method OpenDocument Fired when a document is opened.

Classes that implement IGxDocumentEvents

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


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