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


ToolControl Class (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Framework > ESRI.ArcGIS.Framework > Classes > T > ToolControl Class
ArcGIS Developer Help

ToolControlClass Class

ToolControl CoType.

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.