Group 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 Group Element.
Defines a VSPackage command group.
<Group guid="guidMyCommandSet" id="MyGroup" priority="0x101"> <Parent>... </Parent> </Group>
The following sections describe attributes, child elements, and parent elements.
Attributes
| Attribute | Description |
|---|---|
| guid | Required. GUID of the GUID/ID command identifier. |
| id | Required. ID of the GUID/ID command identifier. |
| priority | Optional. A numeric value that specifies the priority. |
| Condition | Optional. See Conditional Attributes. |
Child Elements
| Element | Description |
|---|---|
| Parent | Optional. The parent element of the button. |
| Annotation | Optional comment. |
Parent Elements
| Element | Description |
|---|---|
| Groups Element | Contains entries that define the command groups of a VSPackage. |
<Group guid="cmdSetGuidWidgetCommands" id="groupIDFileEdit"> <Parent guid="guidSHLMainMenu" id="IDM_VS_TOOL_MAINMENU"/> </Group>
Show: