Combos Element
Visual Studio 2015
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at Combos Element.
Groups Combo Element elements.
<Combos> <Combo>... </Combo> <Combo>... </Combo> </Combos>
The following sections describe attributes, child elements, and parent elements.
Attributes
| Attribute | Description |
|---|---|
| Condition | Optional. See Conditional Attributes. |
Child Elements
| Element | Description |
|---|---|
| Combos Element | Groups Combo elements. |
| Combo Element | Defines the commands that appear in a combo box. |
Parent Elements
| Element | Description |
|---|---|
| Commands Element | Represents the collection of commands on the VSPackage toolbar. |
<Combos>
<Combo guid="guidWidgetPackage" id="cmdidInsertOptions"
defaultWidth="100" idCommandList="cmdidGetInsertOptionsList">
<CommandFlag>DynamicVisibility</CommandFlag>
<Strings>
<ButtonText>Select Insert Options</ButtonText>
</Strings>
</Combo>
<Combo guid="guidWidgetPackage" id="cmdidInsertOptions"
priority="0x0500" type="DropDownCombo" defaultWidth="100"
idCommandList="cmdidGetInsertOptionsList">
<Parent guid="cmdSetGuidWidgetCommands" id="groupIDFileEdit">
<CommandFlag>DynamicVisibility</CommandFlag>
<Strings>
<ButtonText>Select Insert Options</ButtonText>
</Strings>
</Combo>
</Combos>
How VSPackages Add User Interface Elements
Commands, Menus, and Toolbars
Show: