Skip to content

Latest commit

 

History

History
75 lines (60 loc) · 2.17 KB

File metadata and controls

75 lines (60 loc) · 2.17 KB
title Combos Element
description The Combos element groups Combo elements, which define commands that appear in a combo box. This article contains an example.
ms.date 11/04/2016
ms.topic reference
helpviewer_keywords
Combos element (VSCT XML schema)
VSCT XML schema elements, Combos
author tinaschrepfer
ms.author tinali
ms.subservice extensibility-integration

Combos element

Groups Combo element elements.

Syntax

<Combos>
  <Combo>... </Combo>
  <Combo>... </Combo>
</Combos>

Attributes and elements

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.

Example

<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>

See also