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
'Declaration
<ChildElementInfoAttribute(GetType(OfficeMenu))> _
<ChildElementInfoAttribute(GetType(ContextualTabSets))> _
<ChildElementInfoAttribute(GetType(Tabs))> _
<ChildElementInfoAttribute(GetType(QuickAccessToolbar))> _
Public Class Ribbon _
Inherits OpenXmlCompositeElement
'Usage
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.