API Reference
Class
ExcelRangeConditionalFormattingBuilder
Fluent conditional formatting builder for an ExcelRange.
Inheritance
- Object
- ExcelRangeConditionalFormattingBuilder
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property ExcelRange.ConditionalFormat
- Property ExcelRange.ConditionalFormatting
Methods
public ExcelRange Between(String formula1, String formula2) #Returns:
ExcelRangeApplies a between cell-value rule.
Parameters
- formula1 System.String
- formula2 System.String
public ExcelRange Bottom(UInt32 rank, Boolean percent = false) #Returns:
ExcelRangeApplies a bottom-values rule.
Parameters
- rank System.UInt32
- percent System.Boolean = false
public ExcelRange CellIs(ConditionalFormattingOperatorValues operator, String formula1, String formula2 = null) #Returns:
ExcelRangeApplies a cell-value comparison rule.
Parameters
- operator DocumentFormat.OpenXml.Spreadsheet.ConditionalFormattingOperatorValues
- formula1 System.String
- formula2 System.String = null
public ExcelRange Clear() #Returns:
ExcelRangeRemoves conditional formatting rules that overlap the range.
ColorScale 2 overloads
public ExcelRange ColorScale(OfficeColor startColor, OfficeColor endColor) #Returns:
ExcelRangeApplies a two-color scale.
Parameters
- arg1 OfficeIMO.Drawing.OfficeColor
- arg2 OfficeIMO.Drawing.OfficeColor
public ExcelRange ColorScale(String startColor, String endColor) #Returns:
ExcelRangeApplies a two-color scale using hex colors.
Parameters
- startColor System.String
- endColor System.String
DataBar 2 overloads
public ExcelRange Formula(String formula, Boolean stopIfTrue = false) #Returns:
ExcelRangeApplies a formula-based rule.
Parameters
- formula System.String
- stopIfTrue System.Boolean = false
public ExcelRange GreaterThan(String formula) #Returns:
ExcelRangeApplies a greater-than cell-value rule.
Parameters
- formula System.String
IconSet 2 overloads
public ExcelRange IconSet(IconSetValues iconSet, Boolean showValue = true, Boolean reverseIconOrder = false, Double[] percentThresholds = null, Double[] numberThresholds = null) #Returns:
ExcelRangeApplies an icon set.
Parameters
- iconSet DocumentFormat.OpenXml.Spreadsheet.IconSetValues
- showValue System.Boolean = true
- reverseIconOrder System.Boolean = false
- percentThresholds System.Double[] = null
- numberThresholds System.Double[] = null
public ExcelRange LessThan(String formula) #Returns:
ExcelRangeApplies a less-than cell-value rule.
Parameters
- formula System.String
public ExcelRange Top(UInt32 rank, Boolean percent = false) #Returns:
ExcelRangeApplies a top-values rule.
Parameters
- rank System.UInt32
- percent System.Boolean = false
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object