ArcObjects Library Reference (SystemUI)  

IComboBox Interface

Provides access to members that define a COM combo box.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

A combo box provides a drop-down list of items and can optionally provide an editable input area.

When To Use

Use this interface to define a custom combo box.

To create a combo box, you need to implement the ICommand inteface and the IComboBox interface in your class code.

Members

Description
Read-only property DropDownHeight The Combo box's drop down height
Read-only property DropDownWidth The Combo box's drop down width
Read-only property Editable Is the combo box editable?
Read-only property HintText Set the hint displayed in the editbox.
Method OnEditChange Called by system when the edit box is typed into (if editable)
Method OnEnter Called by system when an <enter> key is pressed in the edit box (if editable)
Method OnFocus Called by system when the gets or loses focus
Method OnSelChange Called by system when a selection changes
Read-only property ShowCaption Indicates if the caption is shown when this combo box is placed on toolbar.
Read-only property Width The Combo box's width