ConditionalFormatting 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
| 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.Office2010.Excel.ConditionalFormatting : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Office2010.Excel.ConditionalFormattingPublic 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.Office2010.Excel.ConditionalFormatting : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Office2010.Excel.ConditionalFormattingPublic 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.Office2010.Excel.ConditionalFormatting : string -> DocumentFormat.OpenXml.Office2010.Excel.ConditionalFormattingPublic Sub New (outerXml As String)Parameters
- outerXml
- String
Specifies the outer XML of the element.