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


ToolControl Class (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Framework)  

ToolControl Class

ToolControl CoType.

ToolControl is a non-creatable object. References to non-creatable objects must be obtained through other objects.

Product Availability

Available with ArcGIS Desktop.

Description

A ToolControl is a dropdown list box control, editable textbox control, or other type of control that can be added to a toolbar.

To create a custom ToolControl, implement both the esriSystemUI.ICommand and esriSystemUI.IToolControl interfaces.

Only one instance of a particular toolcontrol is allowed to exist in the application at one time.

Supported Platforms

Windows

Interfaces

Interfaces Description
ICommand (esriSystemUI) Provides access to members that define a COM command.
IToolControl (esriSystemUI) Provides access to members that define a toolcontrol.