Udostępnij za pośrednictwem


Combos, element

Grupy elementy elementu kombi.

Składnia

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

Atrybuty i elementy

W poniższych sekcjach opisano atrybuty, elementy podrzędne i elementy nadrzędne.

Atrybuty

Atrybut opis
Warunek Opcjonalny. Zobacz Atrybuty warunkowe.

Elementy podrzędne

Element opis
Combos, element Grupy elementy kombi.
Element kombi Definiuje polecenia wyświetlane w polu kombi.

Elementy nadrzędne

Element opis
Commands, element Reprezentuje kolekcję poleceń na pasku narzędzi VSPackage.

Przykład

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

Zobacz też