Freigeben über


QuickAccessToolbar-Klasse

Defines the QuickAccessToolbar Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is mso14:qat.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Office2010.CustomUI.QuickAccessToolbar

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(DocumentControlsQatItems), FileFormatVersions.Office2010)> _
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(SharedControlsQatItems), FileFormatVersions.Office2010)> _
Public Class QuickAccessToolbar _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As QuickAccessToolbar
[ChildElementInfoAttribute(typeof(DocumentControlsQatItems), FileFormatVersions.Office2010)]
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(SharedControlsQatItems), FileFormatVersions.Office2010)]
public class QuickAccessToolbar : OpenXmlCompositeElement

Hinweise

The following table lists the possible child types:

  • SharedControlsQatItems <mso14:sharedControls>

  • DocumentControlsQatItems <mso14:documentControls>

2.3.40 CT_Qat

Target namespace: https://schemas.microsoft.com/office/2007/10/customui

Referenced by: CT_Ribbon

Specifies the Quick Access Toolbar. This element MUST NOT be specified unless the startFromScratch attribute on the containing ribbon element is set to true.

Child Elements:

sharedControls : A CT_QatItems element that specifies the list of controls which are shared among all documents.

documentControls : A CT_QatItems element that specifies the list of controls which are specific to the current document.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.

<xsd:complexType name="CT_Qat">

<xsd:sequence>

<xsd:element name="sharedControls" type="CT_QatItems" minOccurs="0"/>

<xsd:element name="documentControls" type="CT_QatItems" minOccurs="0"/>

</xsd:sequence>

</xsd:complexType>

See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

Threadsicherheit

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

Siehe auch

Referenz

QuickAccessToolbar-Member

DocumentFormat.OpenXml.Office2010.CustomUI-Namespace