MenuRoot Class
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Office.CustomUI.MenuRoot
Namespace: DocumentFormat.OpenXml.Office.CustomUI
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<ChildElementInfoAttribute(GetType(MenuSeparator))> _
<ChildElementInfoAttribute(GetType(UnsizedMenu))> _
<ChildElementInfoAttribute(GetType(UnsizedDynamicMenu))> _
<ChildElementInfoAttribute(GetType(UnsizedButton))> _
<ChildElementInfoAttribute(GetType(CheckBox))> _
<ChildElementInfoAttribute(GetType(UnsizedGallery))> _
<ChildElementInfoAttribute(GetType(UnsizedToggleButton))> _
<ChildElementInfoAttribute(GetType(UnsizedControlClone))> _
<ChildElementInfoAttribute(GetType(UnsizedSplitButton))> _
Public Class MenuRoot _
Inherits OpenXmlCompositeElement
'Usage
Dim instance As MenuRoot
[ChildElementInfoAttribute(typeof(MenuSeparator))]
[ChildElementInfoAttribute(typeof(UnsizedMenu))]
[ChildElementInfoAttribute(typeof(UnsizedDynamicMenu))]
[ChildElementInfoAttribute(typeof(UnsizedButton))]
[ChildElementInfoAttribute(typeof(CheckBox))]
[ChildElementInfoAttribute(typeof(UnsizedGallery))]
[ChildElementInfoAttribute(typeof(UnsizedToggleButton))]
[ChildElementInfoAttribute(typeof(UnsizedControlClone))]
[ChildElementInfoAttribute(typeof(UnsizedSplitButton))]
public class MenuRoot : 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.