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


ICommandHook Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IC > ICommandHook Interface
ArcGIS Developer Help

ICommandHook Interface

Provides access to members that work with HookHelper. Custom control or application needs to implement ICommandHook to be recognized by HookHelper.

Product Availability

Available with ArcGIS Engine.

Description

Implement the ICommandHook interface in custom controls and applications if you want them to work with HookHelper objects. The HookHelper is designed to help developers write custom commands that will work with the ArcGIS Engine MapControl, PageLayoutControl, ToolbarControl and the ArcMap application as well as custom applications.

Members

Name Description
Read-only property ActiveView Active view of control or application.
Read-only property OperationStack Operation stack of control or application used for undo/redo operation. Return NULL if control or application does not have its own operation stack.
Read-only property PageLayout Page layout of control or application. Return NULL if not supporting page layout.

Classes that implement ICommandHook

Classes Description