Share via


ComboBox Constructors

Definition

Overloads

ComboBox()

Initializes a new instance of the ComboBox class.

ComboBox(OpenXmlElement[])

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

ComboBox(IEnumerable<OpenXmlElement>)

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

ComboBox(String)

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

ComboBox()

Initializes a new instance of the ComboBox class.

public ComboBox ();
Public Sub New ()

Applies to

ComboBox(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

ComboBox(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

ComboBox(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to