Groups 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 Groups Element.
Contains entries that define the command groups of a VSPackage.
<Groups> <Group>... </Group> <Group>... </Group> </Groups>
The following sections describe attributes, child elements, and parent elements.
Attributes
| Attribute | Description |
|---|---|
| Condition | Optional. See Conditional Attributes. |
Child Elements
| Element | Description |
|---|---|
| Group Element | Represents a single command group. |
| Groups Element | Contains entries that define the command groups of a VSPackage. |
Parent Elements
| Element | Description |
|---|---|
| Commands Element | Represents the collection of commands on the VSPackage toolbar. |
<Groups>
<Group guid="cmdSetGuidWidgetCommands" id="groupIDFileEdit">
<Parent guid="guidSHLMainMenu" id="IDM_VS_TOOL_MAINMENU"/>
</Group>
</Groups>
How VSPackages Add User Interface Elements
Commands, Menus, and Toolbars
Show: