OfficeMenu Class

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Office.CustomUI.OfficeMenu

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(UnsizedButton))> _
<ChildElementInfoAttribute(GetType(UnsizedGallery))> _
<ChildElementInfoAttribute(GetType(UnsizedToggleButton))> _
<ChildElementInfoAttribute(GetType(MenuSeparator))> _
<ChildElementInfoAttribute(GetType(SplitButtonWithTitle))> _
<ChildElementInfoAttribute(GetType(MenuWithTitle))> _
<ChildElementInfoAttribute(GetType(UnsizedDynamicMenu))> _
<ChildElementInfoAttribute(GetType(UnsizedControlClone))> _
<ChildElementInfoAttribute(GetType(CheckBox))> _
Public Class OfficeMenu _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As OfficeMenu
[ChildElementInfoAttribute(typeof(UnsizedButton))]
[ChildElementInfoAttribute(typeof(UnsizedGallery))]
[ChildElementInfoAttribute(typeof(UnsizedToggleButton))]
[ChildElementInfoAttribute(typeof(MenuSeparator))]
[ChildElementInfoAttribute(typeof(SplitButtonWithTitle))]
[ChildElementInfoAttribute(typeof(MenuWithTitle))]
[ChildElementInfoAttribute(typeof(UnsizedDynamicMenu))]
[ChildElementInfoAttribute(typeof(UnsizedControlClone))]
[ChildElementInfoAttribute(typeof(CheckBox))]
public class OfficeMenu : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • UnsizedControlClone <mso:control>

  • UnsizedButton <mso:button>

  • CheckBox <mso:checkBox>

  • UnsizedGallery <mso:gallery>

  • UnsizedToggleButton <mso:toggleButton>

  • MenuSeparator <mso:menuSeparator>

  • SplitButtonWithTitle <mso:splitButton>

  • MenuWithTitle <mso:menu>

  • UnsizedDynamicMenu <mso:dynamicMenu>

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

Reference

OfficeMenu Members

DocumentFormat.OpenXml.Office.CustomUI Namespace