PrimaryItem class

Office 2013 and later

Defines the PrimaryItem Class.This class is available in Office2010 or above. When the object is serialized out as xml, its qualified name is mso14:primaryItem.

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

No code example is currently available or this language may not be supported.

2.3.60 CT_PrimaryItem

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

Referenced by: CT_BackstageGroup

Specifies a container for the primary UI of the containing Backstage group control.

Child Elements:

button: A CT_BackstageRegularButton element, as specified in section 2.3.20.

menu: A CT_BackstagePrimaryMenu element, as specified in section 2.3.19.

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

<xsd:complexType name="CT_PrimaryItem">

<xsd:choice minOccurs="1" maxOccurs="1">

<xsd:element name="button" type="CT_BackstageRegularButton" minOccurs="0" maxOccurs="1"/>

<xsd:element name="menu" type="CT_BackstagePrimaryMenu" minOccurs="0" maxOccurs="1"/>

</xsd:choice>

</xsd:complexType>

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

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