# ExcelConditionalFormattingInfo

Format-neutral conditional-formatting rule model.

Class 

`OfficeIMO.Excel`

**Namespace**

`OfficeIMO.Excel`

**Assembly**

`OfficeIMO.Excel`

**Source revision**

`273d35d5ba8a` with working tree changes

**Source**

[ExcelRuleInfo.cs:27](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L27)

**Modifiers**

sealed

Format-neutral conditional-formatting rule model. Instances returned by a worksheet are editable snapshots and can be applied through [ExcelSheet.UpdateConditionalFormattingRule](/api/excel/officeimo-excel-excelsheet/).

## Inheritance

- object
- ExcelConditionalFormattingInfo

## Usage

Explore 23 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 17

- Method [ExcelRangeConditionalFormattingBuilder.AboveAverage](/api/excel/officeimo-excel-excelrangeconditionalformattingbuilder/#method-aboveaverage-boolean-boolean-nullable-system-uint32-nullable-officeimo-officecolor-boolean)
- Method [ExcelRangeConditionalFormattingBuilder.Blanks](/api/excel/officeimo-excel-excelrangeconditionalformattingbuilder/#method-blanks-boolean-boolean)
- Method [ExcelRangeConditionalFormattingBuilder.CellIs](/api/excel/officeimo-excel-excelrangeconditionalformattingbuilder/#method-cellis-officeimo-excel-excelconditionalformattingoperator-string-string-nullable-officeimo-officecolor-boolean-nullable-system-int32)
- Method [ExcelRangeConditionalFormattingBuilder.ColorScale](/api/excel/officeimo-excel-excelrangeconditionalformattingbuilder/#method-colorscale-officeimo-officecolor-officeimo-officecolor-officeimo-officecolor)
- Method [ExcelRangeConditionalFormattingBuilder.DataBar](/api/excel/officeimo-excel-excelrangeconditionalformattingbuilder/#method-databar-officeimo-officecolor)
- Method [ExcelRangeConditionalFormattingBuilder.DuplicateValues](/api/excel/officeimo-excel-excelrangeconditionalformattingbuilder/#method-duplicatevalues-nullable-officeimo-officecolor)
- Method [ExcelRangeConditionalFormattingBuilder.Errors](/api/excel/officeimo-excel-excelrangeconditionalformattingbuilder/#method-errors-boolean-boolean)
- Method [ExcelRangeConditionalFormattingBuilder.Formula](/api/excel/officeimo-excel-excelrangeconditionalformattingbuilder/#method-formula-string-nullable-officeimo-officecolor-boolean-nullable-system-int32)
- Method [ExcelRangeConditionalFormattingBuilder.IconSet](/api/excel/officeimo-excel-excelrangeconditionalformattingbuilder/#method-iconset-officeimo-excel-exceliconset-boolean-boolean-double-double)
- Method [ExcelRangeConditionalFormattingBuilder.Text](/api/excel/officeimo-excel-excelrangeconditionalformattingbuilder/#method-text-officeimo-excel-excelconditionalformattype-string-nullable-officeimo-officecolor-boolean)
- Method [ExcelRangeConditionalFormattingBuilder.TimePeriod](/api/excel/officeimo-excel-excelrangeconditionalformattingbuilder/#method-timeperiod-officeimo-excel-excelconditionaltimeperiod-nullable-officeimo-officecolor-boolean)
- Method [ExcelRangeConditionalFormattingBuilder.TopBottom](/api/excel/officeimo-excel-excelrangeconditionalformattingbuilder/#method-topbottom-uint32-boolean-boolean-nullable-officeimo-officecolor)
- Method [ExcelRangeConditionalFormattingBuilder.UniqueValues](/api/excel/officeimo-excel-excelrangeconditionalformattingbuilder/#method-uniquevalues-nullable-officeimo-officecolor)
- Method [ExcelSheet.AddConditionalFormattingRule](/api/excel/officeimo-excel-excelsheet/#method-addconditionalformattingrule-officeimo-excel-excelconditionalformattinginfo)
- Method [ExcelSheet.CloneConditionalFormattingRule](/api/excel/officeimo-excel-excelsheet/#method-cloneconditionalformattingrule-officeimo-excel-excelconditionalformattinginfo-string-nullable-system-int32)
- Method [ExcelSheet.GetConditionalFormattingRules](/api/excel/officeimo-excel-excelsheet/#method-getconditionalformattingrules-string)
- Method [ExcelSheet.SetConditionalFormattingColors](/api/excel/officeimo-excel-excelsheet/#method-setconditionalformattingcolors-officeimo-excel-excelconditionalformattinginfo-nullable-officeimo-officecolor-nullable-officeimo-officecolor)

### Accepted by parameters 6

- Method [ExcelSheet.AddConditionalFormattingRule](/api/excel/officeimo-excel-excelsheet/#method-addconditionalformattingrule-officeimo-excel-excelconditionalformattinginfo) parameter `definition`
- Method [ExcelSheet.CloneConditionalFormattingRule](/api/excel/officeimo-excel-excelsheet/#method-cloneconditionalformattingrule-officeimo-excel-excelconditionalformattinginfo-string-nullable-system-int32) parameter `rule`
- Method [ExcelSheet.RemoveConditionalFormattingRule](/api/excel/officeimo-excel-excelsheet/#method-removeconditionalformattingrule-officeimo-excel-excelconditionalformattinginfo) parameter `rule`
- Method [ExcelSheet.ReorderConditionalFormattingRules](/api/excel/officeimo-excel-excelsheet/#method-reorderconditionalformattingrules-collections-generic-ireadonlylist-officeimo-excel-excelconditionalformattinginfo) parameter `orderedRules`
- Method [ExcelSheet.SetConditionalFormattingColors](/api/excel/officeimo-excel-excelsheet/#method-setconditionalformattingcolors-officeimo-excel-excelconditionalformattinginfo-nullable-officeimo-officecolor-nullable-officeimo-officecolor) parameter `rule`
- Method [ExcelSheet.UpdateConditionalFormattingRule](/api/excel/officeimo-excel-excelsheet/#method-updateconditionalformattingrule-officeimo-excel-excelconditionalformattinginfo) parameter `rule`

Filter members 

Show inherited

## Constructors

`public ExcelConditionalFormattingInfo()` [#](#constructor-ctor)

[ExcelRuleInfo.cs:27](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L27)

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public ExcelConditionalFormattingSource Source { get; set; }` [#](#property-source)

[ExcelRuleInfo.cs:21](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L21)

Gets the SpreadsheetML surface that owns the rule.

`public string? ExtensionId { get; internal set; }` [#](#property-extensionid)

[ExcelRuleInfo.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L23)

Gets the persistent extension rule identifier when the imported rule provides one.

`public bool HasPreservedUnknownMarkup { get; internal set; }` [#](#property-haspreservedunknownmarkup)

[ExcelRuleInfo.cs:25](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L25)

Gets whether markup not projected by this model is attached to the rule or its container and will be preserved by lifecycle edits.

`public string Range { get; set; }` [#](#property-range)

[ExcelRuleInfo.cs:27](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L27)

Gets or sets the A1 range covered by the rule.

`public string Type { get; set; }` [#](#property-type)

[ExcelRuleInfo.cs:29](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L29)

Gets or sets the OpenXML conditional formatting type.

`public string? Operator { get; set; }` [#](#property-operator)

[ExcelRuleInfo.cs:31](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L31)

Gets or sets the OpenXML conditional formatting operator.

`public string? Text { get; set; }` [#](#property-text)

[ExcelRuleInfo.cs:33](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L33)

Gets or sets the text payload attached to a text conditional-formatting rule.

`public string? TimePeriod { get; set; }` [#](#property-timeperiod)

[ExcelRuleInfo.cs:35](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L35)

Gets or sets the relative time period attached to a time-period conditional-formatting rule.

`public int Priority { get; set; }` [#](#property-priority)

[ExcelRuleInfo.cs:37](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L37)

Gets or sets the rule priority.

`public bool StopIfTrue { get; set; }` [#](#property-stopiftrue)

[ExcelRuleInfo.cs:39](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L39)

Gets or sets whether evaluation stops when the rule is true.

`public uint? DifferentialFormatId { get; set; }` [#](#property-differentialformatid)

[ExcelRuleInfo.cs:41](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L41)

Gets or sets the differential format id attached to the rule, when present.

`public bool IsDirectRgbSolidFillOnlyDifferentialStyle { get; internal set; }` [#](#property-isdirectrgbsolidfillonlydifferentialstyle)

[ExcelRuleInfo.cs:43](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L43)

Gets whether the differential format contains only a solid fill with a direct RGB foreground color.

`public string? DifferentialFillColorArgb { get; set; }` [#](#property-differentialfillcolorargb)

[ExcelRuleInfo.cs:45](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L45)

Gets or sets the resolved ARGB fill color from the rule's differential format, when present.

`public string? DifferentialFontColorArgb { get; set; }` [#](#property-differentialfontcolorargb)

[ExcelRuleInfo.cs:47](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L47)

Gets or sets the resolved ARGB font color from the rule's differential format, when present.

`public bool? DifferentialFontBold { get; set; }` [#](#property-differentialfontbold)

[ExcelRuleInfo.cs:49](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L49)

Gets or sets whether the rule's differential format requests bold text, when present.

`public bool? DifferentialFontItalic { get; set; }` [#](#property-differentialfontitalic)

[ExcelRuleInfo.cs:51](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L51)

Gets or sets whether the rule's differential format requests italic text, when present.

`public bool? DifferentialFontUnderline { get; set; }` [#](#property-differentialfontunderline)

[ExcelRuleInfo.cs:53](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L53)

Gets or sets whether the rule's differential format requests underlined text, when present.

`public bool? DifferentialFontStrike { get; set; }` [#](#property-differentialfontstrike)

[ExcelRuleInfo.cs:55](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L55)

Gets or sets whether the rule's differential format requests struck-through text, when present.

`public string? DifferentialFontName { get; set; }` [#](#property-differentialfontname)

[ExcelRuleInfo.cs:57](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L57)

Gets or sets the rule's differential format font family, when present.

`public OfficeLength? DifferentialFontSize { get; set; }` [#](#property-differentialfontsize)

[ExcelRuleInfo.cs:59](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L59)

Gets or sets the rule's physical differential font size, when present. Authored sizes must be between 1 and 409 points.

`public ExcelCellBorderInfo? DifferentialBorder { get; set; }` [#](#property-differentialborder)

[ExcelRuleInfo.cs:61](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L61)

Gets or sets the rule's differential format border, when present.

`public IReadOnlyList<string> Formulas { get; set; }` [#](#property-formulas)

[ExcelRuleInfo.cs:63](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L63)

Gets or sets formulas attached to the rule.

`public IReadOnlyList<string> ColorScaleColors { get; set; }` [#](#property-colorscalecolors)

[ExcelRuleInfo.cs:68](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L68)

Gets or sets ARGB colors attached to a color-scale rule, in rule order. An empty entry in an imported rule represents a theme, indexed, or automatic color that remains preserved unless replaced.

`public IReadOnlyList<ExcelConditionalFormatThreshold> ColorScaleThresholds { get; set; }` [#](#property-colorscalethresholds)

[ExcelRuleInfo.cs:70](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L70)

Gets or sets color-scale thresholds in rule order.

`public string? DataBarColor { get; set; }` [#](#property-databarcolor)

[ExcelRuleInfo.cs:72](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L72)

Gets or sets the ARGB color attached to a data-bar rule.

`public IReadOnlyList<ExcelConditionalFormatThreshold> DataBarThresholds { get; set; }` [#](#property-databarthresholds)

[ExcelRuleInfo.cs:74](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L74)

Gets or sets data-bar thresholds in rule order.

`public bool DataBarShowValue { get; set; }` [#](#property-databarshowvalue)

[ExcelRuleInfo.cs:76](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L76)

Gets or sets whether the data-bar rule displays the underlying cell value.

`public uint? DataBarMinimumLength { get; set; }` [#](#property-databarminimumlength)

[ExcelRuleInfo.cs:78](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L78)

Gets or sets the minimum data-bar length percentage for Office extension rules.

`public uint? DataBarMaximumLength { get; set; }` [#](#property-databarmaximumlength)

[ExcelRuleInfo.cs:80](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L80)

Gets or sets the maximum data-bar length percentage for Office extension rules.

`public bool? DataBarBorder { get; set; }` [#](#property-databarborder)

[ExcelRuleInfo.cs:82](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L82)

Gets or sets whether an Office extension data bar has a border.

`public bool? DataBarGradient { get; set; }` [#](#property-databargradient)

[ExcelRuleInfo.cs:84](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L84)

Gets or sets whether an Office extension data bar uses a gradient fill.

`public string? DataBarDirection { get; set; }` [#](#property-databardirection)

[ExcelRuleInfo.cs:86](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L86)

Gets or sets the Office extension data-bar direction.

`public string? DataBarAxisPosition { get; set; }` [#](#property-databaraxisposition)

[ExcelRuleInfo.cs:88](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L88)

Gets or sets the Office extension data-bar axis position.

`public bool? DataBarNegativeColorSameAsPositive { get; set; }` [#](#property-databarnegativecolorsameaspositive)

[ExcelRuleInfo.cs:90](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L90)

Gets or sets whether negative bars reuse the positive fill color.

`public bool? DataBarNegativeBorderColorSameAsPositive { get; set; }` [#](#property-databarnegativebordercolorsameaspositive)

[ExcelRuleInfo.cs:92](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L92)

Gets or sets whether negative bar borders reuse the positive border color.

`public string? DataBarBorderColor { get; set; }` [#](#property-databarbordercolor)

[ExcelRuleInfo.cs:94](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L94)

Gets or sets the ARGB data-bar border color.

`public string? DataBarNegativeColor { get; set; }` [#](#property-databarnegativecolor)

[ExcelRuleInfo.cs:96](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L96)

Gets or sets the ARGB negative data-bar fill color.

`public string? DataBarNegativeBorderColor { get; set; }` [#](#property-databarnegativebordercolor)

[ExcelRuleInfo.cs:98](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L98)

Gets or sets the ARGB negative data-bar border color.

`public string? DataBarAxisColor { get; set; }` [#](#property-databaraxiscolor)

[ExcelRuleInfo.cs:100](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L100)

Gets or sets the ARGB data-bar axis color.

`public string? IconSet { get; set; }` [#](#property-iconset)

[ExcelRuleInfo.cs:102](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L102)

Gets or sets the icon-set name attached to an icon-set rule.

`public bool IconSetShowValue { get; set; }` [#](#property-iconsetshowvalue)

[ExcelRuleInfo.cs:104](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L104)

Gets or sets whether the icon-set rule displays the underlying cell value.

`public bool IconSetReverse { get; set; }` [#](#property-iconsetreverse)

[ExcelRuleInfo.cs:106](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L106)

Gets or sets whether the icon-set rule reverses icon order.

`public bool? IconSetPercent { get; set; }` [#](#property-iconsetpercent)

[ExcelRuleInfo.cs:108](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L108)

Gets or sets whether an Office extension icon set interprets thresholds as percentages.

`public bool? IconSetCustom { get; set; }` [#](#property-iconsetcustom)

[ExcelRuleInfo.cs:110](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L110)

Gets or sets whether an Office extension icon set uses explicit custom icons.

`public IReadOnlyList<ExcelConditionalIconSetThreshold> IconSetThresholds { get; set; }` [#](#property-iconsetthresholds)

[ExcelRuleInfo.cs:112](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L112)

Gets or sets icon-set thresholds in rule order.

`public IReadOnlyList<ExcelConditionalFormatIcon> CustomIcons { get; set; }` [#](#property-customicons)

[ExcelRuleInfo.cs:114](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L114)

Gets or sets custom icon references in rule order.

`public uint? TopBottomRank { get; set; }` [#](#property-topbottomrank)

[ExcelRuleInfo.cs:116](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L116)

Gets or sets the top/bottom rule rank, when present.

`public bool TopBottomBottom { get; set; }` [#](#property-topbottombottom)

[ExcelRuleInfo.cs:118](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L118)

Gets or sets whether the top/bottom rule selects bottom values.

`public bool TopBottomPercent { get; set; }` [#](#property-topbottompercent)

[ExcelRuleInfo.cs:120](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L120)

Gets or sets whether the top/bottom rule rank is a percentage.

`public bool AboveAverageAbove { get; set; }` [#](#property-aboveaverageabove)

[ExcelRuleInfo.cs:122](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L122)

Gets or sets whether the above-average rule selects values above the average.

`public bool AboveAverageEqual { get; set; }` [#](#property-aboveaverageequal)

[ExcelRuleInfo.cs:124](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L124)

Gets or sets whether the above-average rule includes values equal to the average.

`public int? AboveAverageStdDev { get; set; }` [#](#property-aboveaveragestddev)

[ExcelRuleInfo.cs:126](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Excel/ExcelRuleInfo.cs#L126)

Gets or sets the standard-deviation threshold for above-average rules, when present.

<!-- PowerForge markdown artifact sha256:73602BF9383AFD2041EA378B9D332385037F91B535A3AF10B63ABCBA7A62C299 -->
