Ribbon Constructors

Definition

Overloads

Ribbon()

Initializes a new instance of the Ribbon class.

Ribbon(OpenXmlElement[])

Initializes a new instance of the Ribbon class with the specified child elements.

Ribbon(IEnumerable<OpenXmlElement>)

Initializes a new instance of the Ribbon class with the specified child elements.

Ribbon(String)

Initializes a new instance of the Ribbon class from outer XML.

Ribbon()

Initializes a new instance of the Ribbon class.

public Ribbon ();
Public Sub New ()

Applies to

Ribbon(OpenXmlElement[])

Initializes a new instance of the Ribbon class with the specified child elements.

public Ribbon (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.Office2010.CustomUI.Ribbon : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Office2010.CustomUI.Ribbon
Public Sub New (ParamArray childElements As OpenXmlElement())

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Ribbon(IEnumerable<OpenXmlElement>)

Initializes a new instance of the Ribbon class with the specified child elements.

public Ribbon (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);
new DocumentFormat.OpenXml.Office2010.CustomUI.Ribbon : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Office2010.CustomUI.Ribbon
Public Sub New (childElements As IEnumerable(Of OpenXmlElement))

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Ribbon(String)

Initializes a new instance of the Ribbon class from outer XML.

public Ribbon (string outerXml);
new DocumentFormat.OpenXml.Office2010.CustomUI.Ribbon : string -> DocumentFormat.OpenXml.Office2010.CustomUI.Ribbon
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to