共用方式為


Group Class

Inheritance Hierarchy

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

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

Syntax

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

  • VerticalSeparator <mso:separator>

  • DialogBoxLauncher <mso:dialogBoxLauncher>

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

Group Members

DocumentFormat.OpenXml.Office.CustomUI Namespace