Compartilhar via


Box Class

Inheritance Hierarchy

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

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(CheckBox))> _
<ChildElementInfoAttribute(GetType(Menu))> _
<ChildElementInfoAttribute(GetType(DynamicMenu))> _
<ChildElementInfoAttribute(GetType(SplitButton))> _
<ChildElementInfoAttribute(GetType(Box))> _
<ChildElementInfoAttribute(GetType(ButtonGroup))> _
<ChildElementInfoAttribute(GetType(EditBox))> _
<ChildElementInfoAttribute(GetType(ComboBox))> _
<ChildElementInfoAttribute(GetType(DropDown))> _
<ChildElementInfoAttribute(GetType(Gallery))> _
<ChildElementInfoAttribute(GetType(ControlClone))> _
<ChildElementInfoAttribute(GetType(TextLabel))> _
<ChildElementInfoAttribute(GetType(Button))> _
<ChildElementInfoAttribute(GetType(ToggleButton))> _
Public Class Box _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As Box
[ChildElementInfoAttribute(typeof(CheckBox))]
[ChildElementInfoAttribute(typeof(Menu))]
[ChildElementInfoAttribute(typeof(DynamicMenu))]
[ChildElementInfoAttribute(typeof(SplitButton))]
[ChildElementInfoAttribute(typeof(Box))]
[ChildElementInfoAttribute(typeof(ButtonGroup))]
[ChildElementInfoAttribute(typeof(EditBox))]
[ChildElementInfoAttribute(typeof(ComboBox))]
[ChildElementInfoAttribute(typeof(DropDown))]
[ChildElementInfoAttribute(typeof(Gallery))]
[ChildElementInfoAttribute(typeof(ControlClone))]
[ChildElementInfoAttribute(typeof(TextLabel))]
[ChildElementInfoAttribute(typeof(Button))]
[ChildElementInfoAttribute(typeof(ToggleButton))]
public class Box : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • ControlClone <mso:control>

  • TextLabel <mso:labelControl>

  • Button <mso:button>

  • ToggleButton <mso:toggleButton>

  • CheckBox <mso:checkBox>

  • EditBox <mso:editBox>

  • ComboBox <mso:comboBox>

  • DropDown <mso:dropDown>

  • Gallery <mso:gallery>

  • Menu <mso:menu>

  • DynamicMenu <mso:dynamicMenu>

  • SplitButton <mso:splitButton>

  • Box <mso:box>

  • ButtonGroup <mso:buttonGroup>

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

Box Members

DocumentFormat.OpenXml.Office.CustomUI Namespace