IGxDocumentEvents Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > ArcCatalog > ESRI.ArcGIS.ArcCatalog > Interfaces > IG > IGxDocumentEvents Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (ArcCatalog)  

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.

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.


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