TabSet Class
Defines the TabSet Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is mso14:tabSet.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Office2010.CustomUI.TabSet
Namespace: DocumentFormat.OpenXml.Office2010.CustomUI
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
声明
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(Tab), FileFormatVersions.Office2010)> _
Public Class TabSet _
Inherits OpenXmlCompositeElement
用法
Dim instance As TabSet
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(Tab), FileFormatVersions.Office2010)]
public class TabSet : OpenXmlCompositeElement
Remarks
The following table lists the possible child types:
- Tab <mso14:tab>
2.3.42 CT_TabSet
Target namespace: https://schemas.microsoft.com/office/2007/10/customui
Referenced by: CT_ContextualTabs
Specifies a list of contextual tab controls.
Child Elements:
tab : A CT_Tab element.
Attributes:
idMso : An ST_ID attribute that specifies the ID of a built-in control. The id, idQ and idMso attributes are mutually exclusive. Exactly one of these attributes MUST be specified.
visible : A boolean attribute that specifies the visibility state of this control. The visible and getVisible attributes are mutually exclusive. They MUST NOT be used together. If neither of these attributes are specified, then the control defaults to being visible.
getVisible : An ST_Delegate attribute that specifies the name of a callback function which is called to determine the visibility state of this control. The visible and getVisible attributes are mutually exclusive. They MUST NOT be used together. If neither of these attributes are specified, the control defaults to being visible.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.
<xsd:complexType name="CT_TabSet">
<xsd:sequence>
<xsd:element name="tab" type="CT_Tab" minOccurs="0" maxOccurs="50"/>
</xsd:sequence>
<xsd:attribute name="idMso" type="ST_ID" use="required"/>
<xsd:attributeGroup ref="AG_Visible"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).
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.