Show / Hide Table of Contents

Interface IRangeConditionalFormatting

Provides functionality for adding Conditional Formatting to a range (ExcelRangeBase). Each method will return a configurable condtional formatting type.

Namespace: OfficeOpenXml.ConditionalFormatting
Assembly: EPPlus.dll
Syntax
public interface IRangeConditionalFormatting

Methods

AddAboveAverage()

Adds an Above Average rule to the range

Declaration
IExcelConditionalFormattingAverageGroup AddAboveAverage()
Returns
Type Description
IExcelConditionalFormattingAverageGroup

AddAboveOrEqualAverage()

Adds an Above Or Equal Average rule to the range

Declaration
IExcelConditionalFormattingAverageGroup AddAboveOrEqualAverage()
Returns
Type Description
IExcelConditionalFormattingAverageGroup

AddAboveStdDev()

Adds an Above StdDev rule to the range

Declaration
IExcelConditionalFormattingStdDevGroup AddAboveStdDev()
Returns
Type Description
IExcelConditionalFormattingStdDevGroup

AddBeginsWith()

Adds a Begins With rule to the range

Declaration
IExcelConditionalFormattingBeginsWith AddBeginsWith()
Returns
Type Description
IExcelConditionalFormattingBeginsWith

AddBelowAverage()

Adds a Below Average rule to the range

Declaration
IExcelConditionalFormattingAverageGroup AddBelowAverage()
Returns
Type Description
IExcelConditionalFormattingAverageGroup

AddBelowOrEqualAverage()

Adds a Below Or Equal Average rule to the range

Declaration
IExcelConditionalFormattingAverageGroup AddBelowOrEqualAverage()
Returns
Type Description
IExcelConditionalFormattingAverageGroup

AddBelowStdDev()

Adds an Below StdDev rule to the range

Declaration
IExcelConditionalFormattingStdDevGroup AddBelowStdDev()
Returns
Type Description
IExcelConditionalFormattingStdDevGroup

AddBetween()

Adds a Between rule to the range

Declaration
IExcelConditionalFormattingBetween AddBetween()
Returns
Type Description
IExcelConditionalFormattingBetween

AddBottom()

Adds a Bottom rule to the range

Declaration
IExcelConditionalFormattingTopBottomGroup AddBottom()
Returns
Type Description
IExcelConditionalFormattingTopBottomGroup

AddBottomPercent()

Adds a Bottom Percent rule to the range

Declaration
IExcelConditionalFormattingTopBottomGroup AddBottomPercent()
Returns
Type Description
IExcelConditionalFormattingTopBottomGroup

AddContainsBlanks()

Adds a ContainsBlanks rule to the range

Declaration
IExcelConditionalFormattingContainsBlanks AddContainsBlanks()
Returns
Type Description
IExcelConditionalFormattingContainsBlanks

AddContainsErrors()

Adds a ContainsErrors rule to the range

Declaration
IExcelConditionalFormattingContainsErrors AddContainsErrors()
Returns
Type Description
IExcelConditionalFormattingContainsErrors

AddContainsText()

Adds a ContainsText rule to the range

Declaration
IExcelConditionalFormattingContainsText AddContainsText()
Returns
Type Description
IExcelConditionalFormattingContainsText

AddDatabar(Color)

Adds a IExcelConditionalFormattingDataBarGroup to the range

Declaration
IExcelConditionalFormattingDataBarGroup AddDatabar(Color color)
Parameters
Type Name Description
System.Drawing.Color color
Returns
Type Description
IExcelConditionalFormattingDataBarGroup

AddDuplicateValues()

Adds a DuplicateValues rule to the range

Declaration
IExcelConditionalFormattingDuplicateValues AddDuplicateValues()
Returns
Type Description
IExcelConditionalFormattingDuplicateValues

AddEndsWith()

Adds an EndsWith rule to the range

Declaration
IExcelConditionalFormattingEndsWith AddEndsWith()
Returns
Type Description
IExcelConditionalFormattingEndsWith

AddEqual()

Adds an Equal rule to the range

Declaration
IExcelConditionalFormattingEqual AddEqual()
Returns
Type Description
IExcelConditionalFormattingEqual

AddExpression()

Adds an Expression rule to the range

Declaration
IExcelConditionalFormattingExpression AddExpression()
Returns
Type Description
IExcelConditionalFormattingExpression

AddFiveIconSet(eExcelconditionalFormatting5IconsSetType)

Adds a IExcelConditionalFormattingFiveIconSet to the range

Declaration
IExcelConditionalFormattingFiveIconSet AddFiveIconSet(eExcelconditionalFormatting5IconsSetType IconSet)
Parameters
Type Name Description
eExcelconditionalFormatting5IconsSetType IconSet
Returns
Type Description
IExcelConditionalFormattingFiveIconSet

AddFourIconSet(eExcelconditionalFormatting4IconsSetType)

Adds a IExcelConditionalFormattingFourIconSet<T> to the range

Declaration
IExcelConditionalFormattingFourIconSet<eExcelconditionalFormatting4IconsSetType> AddFourIconSet(eExcelconditionalFormatting4IconsSetType IconSet)
Parameters
Type Name Description
eExcelconditionalFormatting4IconsSetType IconSet
Returns
Type Description
IExcelConditionalFormattingFourIconSet<eExcelconditionalFormatting4IconsSetType>

AddGreaterThan()

Adds a GreaterThan rule to the range

Declaration
IExcelConditionalFormattingGreaterThan AddGreaterThan()
Returns
Type Description
IExcelConditionalFormattingGreaterThan

AddGreaterThanOrEqual()

Adds a GreaterThanOrEqual rule to the range

Declaration
IExcelConditionalFormattingGreaterThanOrEqual AddGreaterThanOrEqual()
Returns
Type Description
IExcelConditionalFormattingGreaterThanOrEqual

AddLast7Days()

Adds a Last 7 Days rule to the range

Declaration
IExcelConditionalFormattingTimePeriodGroup AddLast7Days()
Returns
Type Description
IExcelConditionalFormattingTimePeriodGroup

AddLastMonth()

Adds a Last Month rule to the range

Declaration
IExcelConditionalFormattingTimePeriodGroup AddLastMonth()
Returns
Type Description
IExcelConditionalFormattingTimePeriodGroup

AddLastWeek()

Adds a Last Week rule to the range

Declaration
IExcelConditionalFormattingTimePeriodGroup AddLastWeek()
Returns
Type Description
IExcelConditionalFormattingTimePeriodGroup

AddLessThan()

Adds a LessThan rule to the range

Declaration
IExcelConditionalFormattingLessThan AddLessThan()
Returns
Type Description
IExcelConditionalFormattingLessThan

AddLessThanOrEqual()

Adds a LessThanOrEqual rule to the range

Declaration
IExcelConditionalFormattingLessThanOrEqual AddLessThanOrEqual()
Returns
Type Description
IExcelConditionalFormattingLessThanOrEqual

AddNextMonth()

Adds a Next Month rule to the range

Declaration
IExcelConditionalFormattingTimePeriodGroup AddNextMonth()
Returns
Type Description
IExcelConditionalFormattingTimePeriodGroup

AddNextWeek()

Adds a Next Week rule to the range

Declaration
IExcelConditionalFormattingTimePeriodGroup AddNextWeek()
Returns
Type Description
IExcelConditionalFormattingTimePeriodGroup

AddNotBetween()

Adds a NotBetween rule to the range

Declaration
IExcelConditionalFormattingNotBetween AddNotBetween()
Returns
Type Description
IExcelConditionalFormattingNotBetween

AddNotContainsBlanks()

Adds a NotContainsBlanks rule to the range

Declaration
IExcelConditionalFormattingNotContainsBlanks AddNotContainsBlanks()
Returns
Type Description
IExcelConditionalFormattingNotContainsBlanks

AddNotContainsErrors()

Adds a NotContainsErrors rule to the range

Declaration
IExcelConditionalFormattingNotContainsErrors AddNotContainsErrors()
Returns
Type Description
IExcelConditionalFormattingNotContainsErrors

AddNotContainsText()

Adds a NotContainsText rule to the range

Declaration
IExcelConditionalFormattingNotContainsText AddNotContainsText()
Returns
Type Description
IExcelConditionalFormattingNotContainsText

AddNotEqual()

Adds a NotEqual rule to the range

Declaration
IExcelConditionalFormattingNotEqual AddNotEqual()
Returns
Type Description
IExcelConditionalFormattingNotEqual

AddThisMonth()

Adds a This Month rule to the range

Declaration
IExcelConditionalFormattingTimePeriodGroup AddThisMonth()
Returns
Type Description
IExcelConditionalFormattingTimePeriodGroup

AddThisWeek()

Adds a This Week rule to the range

Declaration
IExcelConditionalFormattingTimePeriodGroup AddThisWeek()
Returns
Type Description
IExcelConditionalFormattingTimePeriodGroup

AddThreeColorScale()

Adds a ExcelConditionalFormattingThreeColorScale to the range

Declaration
IExcelConditionalFormattingThreeColorScale AddThreeColorScale()
Returns
Type Description
IExcelConditionalFormattingThreeColorScale

AddThreeIconSet(eExcelconditionalFormatting3IconsSetType)

Adds a IExcelConditionalFormattingThreeIconSet<T> to the range

Declaration
IExcelConditionalFormattingThreeIconSet<eExcelconditionalFormatting3IconsSetType> AddThreeIconSet(eExcelconditionalFormatting3IconsSetType IconSet)
Parameters
Type Name Description
eExcelconditionalFormatting3IconsSetType IconSet
Returns
Type Description
IExcelConditionalFormattingThreeIconSet<eExcelconditionalFormatting3IconsSetType>

AddToday()

Adds a Today rule to the range

Declaration
IExcelConditionalFormattingTimePeriodGroup AddToday()
Returns
Type Description
IExcelConditionalFormattingTimePeriodGroup

AddTomorrow()

Adds a Tomorrow rule to the range

Declaration
IExcelConditionalFormattingTimePeriodGroup AddTomorrow()
Returns
Type Description
IExcelConditionalFormattingTimePeriodGroup

AddTop()

Adds a Top rule to the range

Declaration
IExcelConditionalFormattingTopBottomGroup AddTop()
Returns
Type Description
IExcelConditionalFormattingTopBottomGroup

AddTopPercent()

Adds a Top Percent rule to the range

Declaration
IExcelConditionalFormattingTopBottomGroup AddTopPercent()
Returns
Type Description
IExcelConditionalFormattingTopBottomGroup

AddTwoColorScale()

Adds a ExcelConditionalFormattingTwoColorScale to the range

Declaration
IExcelConditionalFormattingTwoColorScale AddTwoColorScale()
Returns
Type Description
IExcelConditionalFormattingTwoColorScale

AddUniqueValues()

Adds an UniqueValues rule to the range

Declaration
IExcelConditionalFormattingUniqueValues AddUniqueValues()
Returns
Type Description
IExcelConditionalFormattingUniqueValues

AddYesterday()

Adds an Yesterday rule to the range

Declaration
IExcelConditionalFormattingTimePeriodGroup AddYesterday()
Returns
Type Description
IExcelConditionalFormattingTimePeriodGroup
In This Article
Back to top Generated by DocFX