New to Telerik Document ProcessingStart a free 30-day trial

Conditional formatting rule that applies formatting when a cell value falls outside the range defined by two specified bounds.

Definition

Constructors

Initializes a new NotBetweenRule with two boundary arguments and formatting to apply when the condition is met.

C#
public NotBetweenRule(string first, string second, DifferentialFormatting formatting)
Parameters:firststringsecondstringformattingDifferentialFormatting

Methods

Evaluates whether the cell value falls outside the range defined by 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)