Freigeben über


Box-Klasse

Vererbungshierarchie

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

Hinweise

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>

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

Box-Member

DocumentFormat.OpenXml.Office.CustomUI-Namespace