title | description | ms.date | ms.topic | helpviewer_keywords | author | ms.author | manager | ms.subservice | ||
---|---|---|---|---|---|---|---|---|---|---|
Buttons Element |
The Buttons element groups Button elements, which represent individual commands. This article contains an example. |
11/04/2016 |
reference |
|
maiak |
maiak |
mijacobs |
extensibility-integration |
Groups Button elements, which represent individual commands.
<Buttons>
<Button>... </Button>
<Button>... </Button>
</Buttons>
The following sections describe attributes, child elements, and parent elements.
Attribute | Description |
---|---|
Condition | Optional. See Conditional attributes. |
Element | Description |
---|---|
Buttons element | Groups Button elements. |
Button element | Defines a command that the user can interact with. |
Element | Description |
---|---|
Commands element | Represents the collection of commands on the VSPackage toolbar. |
<Buttons>
<Button guid="guidMenuAndCommandsCmdSet" id="cmdidMyCommand" priority="0x100" type="Button">
<Parent guid="guidMenuAndCommandsCmdSet" id="MyMenuGroup"/>
<Icon guid="guidGenericCmdBmp" id="bmpArrow"/>
<Strings>
<ButtonText>C# Command Sample</ButtonText>
</Strings>
</Button>
</Buttons>