2.3.17 CT_BackstageMenuGroup

Target namespace: http://schemas.microsoft.com/office/2009/07/customui

Referenced by: CT_BackstagePrimaryMenu, CT_BackstageSubMenu, CT_BackstageMenuBase

Specifies a grouping of controls within a Backstage menu control.

Child Elements:

button: A CT_BackstageMenuButton element, as specified in section 2.3.15.

checkBox: A CT_BackstageMenuCheckBox element, as specified in section 2.3.16.

menu: A CT_BackstageSubMenu element, as specified in section 2.3.21.

toggleButton: A CT_BackstageMenuToggleButton element, as specified in section 2.3.18.

Attributes:

id: An ST_UniqueID attribute, as specified in section 2.4.27, that specifies the identifier of a custom control. All custom controls MUST have unique identifiers. The id, idQ, and idMso attributes are mutually exclusive. Exactly one of these attributes MUST be specified on all controls.

idQ: An ST_QID attribute, as specified in section 2.4.22, that specifies the qualified identifier of a control. This attribute is used to reference controls or containers created by other Custom UI documents. The id, idQ, and idMso attributes are mutually exclusive. Exactly one of these attributes MUST be specified on all controls.

tag: An ST_String attribute, as specified in section 2.4.24, that specifies an arbitrary string that provides additional information about this control during callback function calls. If this attribute is omitted, the value defaults to an empty string.

label: An ST_String attribute that specifies a string that is displayed as the label of this control. The label and getLabel attributes are mutually exclusive. They MUST NOT be used together. If neither attribute is specified, a label is not displayed.

getLabel: An ST_Delegate attribute that specifies the name of a callback function that is called to determine the label of this control. The label and getLabel attributes are mutually exclusive. They MUST NOT be used together. If neither attribute is specified, a label is not displayed.

itemSize: An ST_ItemSize attribute, as specified in section 2.4.18, that specifies the size of child items within this grouping container.

The following W3C XML Schema ([XMLSCHEMA1/2] section 2.1) fragment specifies the contents of this complex type.

 <xsd:complexType name="CT_BackstageMenuGroup">
   <xsd:sequence>
     <xsd:choice minOccurs="0" maxOccurs="1000">
       <xsd:group ref="EG_BackstageMenuControls"/>
     </xsd:choice>
   </xsd:sequence>
   <xsd:attributeGroup ref="AG_IDCustom"/>
   <xsd:attributeGroup ref="AG_Label"/>
   <xsd:attribute name="itemSize" type="ST_ItemSize" use="optional"/>
 </xsd:complexType>

See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1/2] section 2.1).