ContextMenus Class

Defines the ContextMenus Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is mso14:contextMenus.

Inheritance Hierarchy


Namespace:  DocumentFormat.OpenXml.Office2010.CustomUI
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)


<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(ContextMenu), FileFormatVersions.Office2010)> _
Public Class ContextMenus _
    Inherits OpenXmlCompositeElement
Dim instance As ContextMenus
[ChildElementInfoAttribute(typeof(ContextMenu), FileFormatVersions.Office2010)]
public class ContextMenus : OpenXmlCompositeElement


The following table lists the possible child types:

  • ContextMenu <mso14:contextMenu>

2.3.47 CT_ContextMenus

Target namespace:

Referenced by: CT_CustomUI

Specifies a list of built-in context menu controls.

Child Elements:

contextMenu : A CT_ContextMenu element.

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

<xsd:complexType name="CT_ContextMenus">


<xsd:element name="contextMenu" type="CT_ContextMenu" minOccurs="1" maxOccurs="1000"/>



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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also


ContextMenus Members

DocumentFormat.OpenXml.Office2010.CustomUI Namespace