- Article
-
-
Groups Button elements, which represent individual commands.
Syntax
<Buttons>
<Button>... </Button>
<Button>... </Button>
</Buttons>
Attributes and elements
The following sections describe attributes, child elements, and parent elements.
Attributes
Child elements
Parent elements
Element |
Description |
Commands element |
Represents the collection of commands on the VSPackage toolbar. |
Example
<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>
See also