Share via


TableStyles Constructors

Definition

Overloads

TableStyles()

Initializes a new instance of the TableStyles class.

TableStyles(OpenXmlElement[])

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

TableStyles(IEnumerable<OpenXmlElement>)

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

TableStyles(String)

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

TableStyles()

Initializes a new instance of the TableStyles class.

public TableStyles ();
Public Sub New ()

Applies to

TableStyles(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

TableStyles(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

TableStyles(String)

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

public TableStyles (string outerXml);
new DocumentFormat.OpenXml.Spreadsheet.TableStyles : string -> DocumentFormat.OpenXml.Spreadsheet.TableStyles
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to