2.3.31 CT_ContextMenu

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

Referenced by: CT_ContextMenus

Specifies a built-in context menu control.

Child Elements:

control: A CT_ControlCloneRegular element, as specified in section 2.3.38.

button: A CT_ButtonRegular element, as specified in section 2.3.26.

checkBox: A CT_CheckBox element, as specified in section 2.3.27.

gallery: A CT_GalleryRegular element, as specified in section 2.3.46.

toggleButton: A CT_ToggleButtonRegular element, as specified in section 2.3.84.

splitButton: A CT_SplitButtonRegular element, as specified in section 2.3.71.

menu: A CT_MenuRegular element, as specified in section 2.3.57.

dynamicMenu: A CT_DynamicMenuRegular element, as specified in section 2.3.43.

menuSeparator: A CT_MenuSeparatorNoTitle element, as specified in section 2.3.60.

Attributes:

idMso: An ST_ID attribute, as specified in section 2.4.17, that specifies the identifier of a built-in control. The id, idQ, and idMso attributes are mutually exclusive. Exactly one of these attributes MUST be specified.

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

 <xsd:complexType name="CT_ContextMenu">
   <xsd:sequence>
     <xsd:choice minOccurs="0" maxOccurs="1000">
       <xsd:group ref="EG_ContextMenuControls"/>
     </xsd:choice>
   </xsd:sequence>
   <xsd:attributeGroup ref="AG_IDMso"/>
 </xsd:complexType>

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