Share via


ConditionalFormat Constructors

Definition

Overloads

ConditionalFormat()

Initializes a new instance of the ConditionalFormat class.

ConditionalFormat(OpenXmlElement[])

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

ConditionalFormat(IEnumerable<OpenXmlElement>)

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

ConditionalFormat(String)

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

ConditionalFormat()

Initializes a new instance of the ConditionalFormat class.

public ConditionalFormat ();
Public Sub New ()

Applies to

ConditionalFormat(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

ConditionalFormat(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

ConditionalFormat(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to