Ribbon Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.Office.CustomUI.Ribbon : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Office.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.Office.CustomUI.Ribbon : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Office.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.Office.CustomUI.Ribbon : string -> DocumentFormat.OpenXml.Office.CustomUI.Ribbon
Public Sub New (outerXml As String)
Parameters
- outerXml
- String
Specifies the outer XML of the element.