Udostępnij za pośrednictwem


ConditionalFormatting Constructors

Definition

Overloads

ConditionalFormatting()

Initializes a new instance of the ConditionalFormatting class.

ConditionalFormatting(OpenXmlElement[])

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

ConditionalFormatting(IEnumerable<OpenXmlElement>)

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

ConditionalFormatting(String)

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

ConditionalFormatting()

Initializes a new instance of the ConditionalFormatting class.

public ConditionalFormatting ();
Public Sub New ()

Applies to

ConditionalFormatting(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

ConditionalFormatting(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

ConditionalFormatting(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to