New to Telerik Document ProcessingStart a free 30-day trial

Conditional formatting rule that applies formatting when a cell value falls between two specified bounds, inclusive.

Definition

Constructors

Initializes a new instance of the BetweenRule class.

C#
public BetweenRule(string argument1, string argument2, DifferentialFormatting formatting)
Parameters:argument1stringargument2stringformattingDifferentialFormatting

Methods

Evaluates whether the cell value falls between the two boundary arguments and returns 1.0 if true, 0.0 otherwise.

C#
protected override double Resolve(ICellValue value)
Parameters:valueICellValue

The cell value

Returns:

double

Overrides: ConditionalFormattingRule.Resolve(ICellValue)