次の方法で共有


Ribbon Class

Inheritance Hierarchy

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

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

Syntax

'宣言
<ChildElementInfoAttribute(GetType(OfficeMenu))> _
<ChildElementInfoAttribute(GetType(ContextualTabSets))> _
<ChildElementInfoAttribute(GetType(Tabs))> _
<ChildElementInfoAttribute(GetType(QuickAccessToolbar))> _
Public Class Ribbon _
    Inherits OpenXmlCompositeElement
'使用
Dim instance As Ribbon
[ChildElementInfoAttribute(typeof(OfficeMenu))]
[ChildElementInfoAttribute(typeof(ContextualTabSets))]
[ChildElementInfoAttribute(typeof(Tabs))]
[ChildElementInfoAttribute(typeof(QuickAccessToolbar))]
public class Ribbon : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • OfficeMenu <mso:officeMenu>

  • QuickAccessToolbar <mso:qat>

  • Tabs <mso:tabs>

  • ContextualTabSets <mso:contextualTabs>

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

Ribbon Members

DocumentFormat.OpenXml.Office.CustomUI Namespace