CommandBarComboBox Interface

Definition

Represents a combo box control on a command bar.

public interface class CommandBarComboBox : Microsoft::Office::Core::_CommandBarComboBox, Microsoft::Office::Core::_CommandBarComboBoxEvents_Event
[System.Runtime.InteropServices.Guid("000C030C-0000-0000-C000-000000000046")]
public interface CommandBarComboBox : Microsoft.Office.Core._CommandBarComboBox, Microsoft.Office.Core._CommandBarComboBoxEvents_Event
[<System.Runtime.InteropServices.Guid("000C030C-0000-0000-C000-000000000046")>]
type CommandBarComboBox = interface
    interface _CommandBarComboBox
    interface _CommandBarComboBoxEvents_Event
Public Interface CommandBarComboBox
Implements _CommandBarComboBox, _CommandBarComboBoxEvents_Event
Derived
Attributes
Implements

Remarks

Use Controls(index), where index is the index number of the control, to return a CommandBarComboBox object. (The Type property of the control must be msoControlEdit, msoControlDropdown, msoControlComboBox, msoControlButtonDropdown, msoControlSplitDropdown, msoControlOCXDropdown, msoControlGraphicCombo, or msoControlGraphicDropdown.)

You can also use the FindControl(Object, Object, Object, Object) method to return a CommandBarComboBox object.

Properties

accChild[Object] (Inherited from IAccessible)
accChildCount (Inherited from IAccessible)
accDefaultAction[Object] (Inherited from IAccessible)
accDescription[Object] (Inherited from IAccessible)
accFocus (Inherited from IAccessible)
accHelp[Object] (Inherited from IAccessible)
accHelpTopic[String, Object] (Inherited from IAccessible)
accKeyboardShortcut[Object] (Inherited from IAccessible)
accName[Object] (Inherited from IAccessible)
accParent (Inherited from IAccessible)
accRole[Object] (Inherited from IAccessible)
accSelection (Inherited from IAccessible)
accState[Object] (Inherited from IAccessible)
accValue[Object] (Inherited from IAccessible)
Application

Returns an Application object that represents the container application for the object.

(Inherited from CommandBarControl)
BeginGroup

Determines if the specified command bar control appears at the beginning of a group of controls on the command bar.

(Inherited from CommandBarControl)
BuiltIn

Determines if the specified command bar control is a built-in control of the container application.

(Inherited from CommandBarControl)
Caption

Returns or sets the caption text for a command bar control.

(Inherited from CommandBarControl)
Control

Reserved for internal use.

(Inherited from CommandBarControl)
Creator

Returns a 32-bit integer that indicates the application in which the specified object was created.

(Inherited from CommandBarControl)
DescriptionText

Returns or sets the description for a command bar control.

(Inherited from CommandBarControl)
DropDownLines

Returns or sets the number of lines in a command bar combo box control.

(Inherited from _CommandBarComboBox)
DropDownWidth

Returns or sets the width (in pixels) of the list for the specified command bar combo box control.

(Inherited from _CommandBarComboBox)
Enabled

Determines if the specified command bar control is enabled.

(Inherited from CommandBarControl)
Height

Returns or sets the height of a command bar control.

(Inherited from CommandBarControl)
HelpContextId

Returns or sets the Help context Id number for the Help topic attached to the command bar control.

(Inherited from CommandBarControl)
HelpFile

Returns or sets the file name for the Help topic attached to the command bar control.

(Inherited from CommandBarControl)
Id

Returns the ID for a built-in command bar control.

(Inherited from CommandBarControl)
Index

Returns an Integer representing the index number for an object in the collection.

(Inherited from CommandBarControl)
InstanceId

Reserved for internal use.

(Inherited from CommandBarControl)
InstanceIdPtr

Reserved for internal use.

(Inherited from _CommandBarComboBox)
IsPriorityDropped

Determines if the control is currently dropped from the menu or toolbar based on usage statistics and layout space.

(Inherited from CommandBarControl)
Left

Returns the horizontal position of the specified command bar control (in pixels) relative to the left edge of the screen.

(Inherited from CommandBarControl)
List[Int32]

Returns or sets an item in the command bar combo box control.

(Inherited from _CommandBarComboBox)
ListCount

Returns the number of list items in a command bar combo box control.

(Inherited from _CommandBarComboBox)
ListHeaderCount

Returns or sets the number of list items in a command bar combo box control that appears above the separator line.

(Inherited from _CommandBarComboBox)
ListIndex

Returns or sets the index number of the selected item in the list portion of the command bar combo box control.

(Inherited from _CommandBarComboBox)
OLEUsage

Returns or sets the OLE client and OLE server roles in which a command bar control will be used when two Microsoft Office applications are merged.

(Inherited from CommandBarControl)
OnAction

Returns or sets the name of a procedure that will run when the user clicks or changes the value of a command bar control.

(Inherited from CommandBarControl)
Parameter

Returns or sets a string that an application can use to execute a command.

(Inherited from CommandBarControl)
Parent

Returns the Parent object for the specified object.

(Inherited from CommandBarControl)
Priority

Returns or sets the priority of a command bar control.

(Inherited from CommandBarControl)
Style

Returns or sets the way a command bar is displayed.

(Inherited from _CommandBarComboBox)
Tag

Returns or sets information about the command bar control, such as data that can be used as an argument in procedures, or information that identifies the control.

(Inherited from CommandBarControl)
Text

Returns or sets the text in the display or edit portion of the command bar combo box control.

(Inherited from _CommandBarComboBox)
TooltipText

Returns or sets the text displayed in a command bar control's ScreenTip.

(Inherited from CommandBarControl)
Top

Returns the distance (in pixels) from the top edge of the specified command bar control to the top edge of the screen.

(Inherited from CommandBarControl)
Type

Returns the type of command bar control.

(Inherited from CommandBarControl)
Visible

Determines if the specified object is visible.

(Inherited from CommandBarControl)
Width

Returns or sets the width (in pixels) of the specified command bar control.

(Inherited from CommandBarControl)

Methods

accDoDefaultAction(Object) (Inherited from IAccessible)
accHitTest(Int32, Int32) (Inherited from IAccessible)
accLocation(Int32, Int32, Int32, Int32, Object) (Inherited from IAccessible)
accNavigate(Int32, Object) (Inherited from IAccessible)
accSelect(Int32, Object) (Inherited from IAccessible)
add_Change(_CommandBarComboBoxEvents_ChangeEventHandler) (Inherited from _CommandBarComboBoxEvents_Event)
AddItem(String, Object)

Adds a list item to the specified command bar combo box control.

(Inherited from _CommandBarComboBox)
Clear()

Removes all list items from a command bar combo box control (drop-down list box or combo box) and clears the text box (edit box or combo box).

(Inherited from _CommandBarComboBox)
Copy(Object, Object)

Copies a command bar control to an existing command bar.

(Inherited from CommandBarControl)
Delete(Object)

Deletes the specified object from its collection.

(Inherited from CommandBarControl)
Execute()

Runs the procedure or built-in command assigned to the specified command bar control.

(Inherited from CommandBarControl)
Move(Object, Object)

Moves the specified command bar control to an existing command bar.

(Inherited from CommandBarControl)
remove_Change(_CommandBarComboBoxEvents_ChangeEventHandler) (Inherited from _CommandBarComboBoxEvents_Event)
RemoveItem(Int32)

Removes an item from a command bar combo box control.

(Inherited from _CommandBarComboBox)
Reserved1()

Reserved for internal use.

(Inherited from CommandBarControl)
Reserved2()

Reserved for internal use.

(Inherited from CommandBarControl)
Reserved3()

Reserved for internal use.

(Inherited from CommandBarControl)
Reserved4()

Reserved for internal use.

(Inherited from CommandBarControl)
Reserved5()

Reserved for internal use.

(Inherited from CommandBarControl)
Reserved6()

Reserved for internal use.

(Inherited from CommandBarControl)
Reserved7()

Reserved for internal use.

(Inherited from CommandBarControl)
Reset()

Resets a built-in command bar control to its original function and face.

(Inherited from CommandBarControl)
SetFocus()

Moves the keyboard focus to the specified command bar control.

(Inherited from CommandBarControl)

Events

Change

Occurs when the end user changes the selection in a command bar combo box.

(Inherited from _CommandBarComboBoxEvents_Event)

Applies to