<!-- Generated by tools/SharpCell.Docs from the XML documentation comments. Do not edit; run the tool with 'generate'. -->

# ConditionalFormatType

```csharp
public enum ConditionalFormatType
```

Namespace `SharpCell` · package `SharpCell`

What a conditional format looks at, as Excel's New Formatting Rule dialog offers it.

## Values

| Name | Value | Description |
|---|---|---|
| <a id="cellvalue"></a>`CellValue` | 0 | The cell's value compared with formulas: Highlight Cells Rules > Greater Than and the others. |
| <a id="expression"></a>`Expression` | 1 | Cells for which a formula is true: Use a formula to determine which cells to format. |
| <a id="top"></a>`Top` | 2 | The highest values of the ranges: Top/Bottom Rules > Top 10 Items or Top 10%. |
| <a id="bottom"></a>`Bottom` | 3 | The lowest values of the ranges. |
| <a id="aboveaverage"></a>`AboveAverage` | 4 | Values above the average of the ranges. |
| <a id="belowaverage"></a>`BelowAverage` | 5 | Values below the average of the ranges. |
| <a id="duplicatevalues"></a>`DuplicateValues` | 6 | Values that appear more than once in the ranges. |
| <a id="uniquevalues"></a>`UniqueValues` | 7 | Values that appear once in the ranges. |
| <a id="containstext"></a>`ContainsText` | 8 | Text containing [ConditionalFormat.Text](SharpCell.ConditionalFormat.md#text), ignoring case. |
| <a id="notcontainstext"></a>`NotContainsText` | 9 | Text not containing [ConditionalFormat.Text](SharpCell.ConditionalFormat.md#text). |
| <a id="beginswith"></a>`BeginsWith` | 10 | Text beginning with [ConditionalFormat.Text](SharpCell.ConditionalFormat.md#text). |
| <a id="endswith"></a>`EndsWith` | 11 | Text ending with [ConditionalFormat.Text](SharpCell.ConditionalFormat.md#text). |
| <a id="blanks"></a>`Blanks` | 12 | Empty cells, or cells holding only spaces. |
| <a id="noblanks"></a>`NoBlanks` | 13 | Cells that are not blank. |
| <a id="errors"></a>`Errors` | 14 | Cells holding an error. |
| <a id="noerrors"></a>`NoErrors` | 15 | Cells not holding an error. |
| <a id="timeperiod"></a>`TimePeriod` | 16 | Dates in a period around today: A Date Occurring. |
| <a id="colorscale"></a>`ColorScale` | 17 | A colour scale, read from a file; every number gets a colour of its own, which SharpCell does not work out. |
| <a id="databar"></a>`DataBar` | 18 | Data bars, read from a file. |
| <a id="iconset"></a>`IconSet` | 19 | An icon set, read from a file. |
