Partager via


Menu Class

Inheritance Hierarchy

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

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(UnsizedDynamicMenu))> _
<ChildElementInfoAttribute(GetType(UnsizedControlClone))> _
<ChildElementInfoAttribute(GetType(UnsizedToggleButton))> _
<ChildElementInfoAttribute(GetType(UnsizedSplitButton))> _
<ChildElementInfoAttribute(GetType(UnsizedMenu))> _
<ChildElementInfoAttribute(GetType(MenuSeparator))> _
<ChildElementInfoAttribute(GetType(UnsizedButton))> _
<ChildElementInfoAttribute(GetType(CheckBox))> _
<ChildElementInfoAttribute(GetType(UnsizedGallery))> _
Public Class Menu _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As Menu
[ChildElementInfoAttribute(typeof(UnsizedDynamicMenu))]
[ChildElementInfoAttribute(typeof(UnsizedControlClone))]
[ChildElementInfoAttribute(typeof(UnsizedToggleButton))]
[ChildElementInfoAttribute(typeof(UnsizedSplitButton))]
[ChildElementInfoAttribute(typeof(UnsizedMenu))]
[ChildElementInfoAttribute(typeof(MenuSeparator))]
[ChildElementInfoAttribute(typeof(UnsizedButton))]
[ChildElementInfoAttribute(typeof(CheckBox))]
[ChildElementInfoAttribute(typeof(UnsizedGallery))]
public class Menu : 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>

  • UnsizedSplitButton <mso:splitButton>

  • UnsizedMenu <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

Menu Members

DocumentFormat.OpenXml.Office.CustomUI Namespace