Skip to content

Latest commit

 

History

History
60 lines (47 loc) · 1.65 KB

File metadata and controls

60 lines (47 loc) · 1.65 KB
title Group Element
description The Group element defines a VSPackage command group. This article describes attributes, child elements, and parent elements.
ms.date 11/04/2016
ms.topic reference
helpviewer_keywords
VSCT XML schema elements, Groups
Groups element (VSCT XML schema)
author tinaschrepfer
ms.author tinali
ms.manager wiwagn
ms.subservice extensibility-integration

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