New to Telerik Document ProcessingStart a free 30-day trial

Configuration context for numeric data validation rules that validate cell values using comparison operators and numeric boundaries.

Definition

Constructors

Initializes a new instance of the NumberDataValidationRuleContext class.

C#
public NumberDataValidationRuleContext(Worksheet worksheet, CellIndex cellIndex)
Parameters:worksheetWorksheet

The worksheet.

cellIndexCellIndex

Index of the cell.

Initializes a new instance of the NumberDataValidationRuleContext class.

C#
public NumberDataValidationRuleContext(Worksheet worksheet, int rowIndex, int columnIndex)
Parameters:worksheetWorksheet

The worksheet.

rowIndexint

Index of the row.

columnIndexint

Index of the column.

Properties

Second boundary value for range-based comparisons such as Between and NotBetween operators.

C#
public string Argument2 { get; set; }
Property Value:

The second argument.

Comparison operator used to evaluate the cell value against the validation arguments.

C#
public ComparisonOperator ComparisonOperator { get; set; }
Property Value:

The comparison operator.