Group element

Defines a VSPackage command group.

Syntax

<Group guid="guidMyCommandSet" id="MyGroup" priority="0x101">
  <Parent>... </Parent>
</Group>

Attributes and elements

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.

Example

<Group guid="cmdSetGuidWidgetCommands" id="groupIDFileEdit">
  <Parent guid="guidSHLMainMenu" id="IDM_VS_TOOL_MAINMENU"/>
</Group>

See also