Export (0) Print
Expand All
Expand Minimize

MsoControlType Enumeration

Specifies the type of the command bar control.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

public enum MsoControlType

Member nameDescription
msoControlCustomCustom control. Cannot be created through the object model.
msoControlButtonCommand button.
msoControlEditText box.
msoControlDropdownDrop-down list.
msoControlComboBoxCombo box.
msoControlButtonDropdownDrop-down button. Cannot be created through the object model.
msoControlSplitDropdownSplit drop-down list. Cannot be created through the object model.
msoControlOCXDropdownOCX drop-down list. Cannot be created through the object model.
msoControlGenericDropdownGeneric drop-down list. Cannot be created through the object model.
msoControlGraphicDropdownGraphic drop-down list. Cannot be created through the object model.
msoControlPopupPop-up.
msoControlGraphicPopupGraphic pop-up menu. Cannot be created through the object model.
msoControlButtonPopupPop-up button. Cannot be created through the object model.
msoControlSplitButtonPopupSplit button pop-up. Cannot be created through the object model.
msoControlSplitButtonMRUPopupMost Recently Used (MRU) pop-up. Cannot be created through the object model.
msoControlLabelLabel. Cannot be created through the object model.
msoControlExpandingGridExpanding grid. Cannot be created through the object model.
msoControlSplitExpandingGridSplit expanding grid. Cannot be created through the object model.
msoControlGridGrid. Cannot be created through the object model.
msoControlGaugeGauge control. Cannot be created through the object model.
msoControlGraphicComboGraphic combo box. Cannot be created through the object model.
msoControlPanePane. Cannot be created through the object model.
msoControlActiveXActiveX control.
msoControlSpinnerSpinner. Cannot be created through the object model.
msoControlLabelExExtended label. Cannot be created through the object model.
msoControlWorkPaneWork pane. Cannot be created through the object model.
msoControlAutoCompleteComboCombo box in which the first matching choice is automatically filled in as the user types. Cannot be created through the object model.

Used with the Add method of the CommandBarControls object. Only a limited set of the control types can be created via the CommandBars object model: msoControlButton, msoControlEdit, msoControlDropdown, msoControlComboBox, msoControlPopup, and msoControlActiveX. Other control types may exist on built-in or add-in command bars, but cannot be created via the object model.

Show:
© 2015 Microsoft