Class
NumberDataValidationRuleContext

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

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.Model.DataValidation

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

cs-api-definition
public class NumberDataValidationRuleContext : SingleArgumentDataValidationRuleContext

Inheritance: objectDataValidationRuleContextBaseSingleArgumentDataValidationRuleContextNumberDataValidationRuleContext

Inherited Members SingleArgumentDataValidationRuleContext.IgnoreBlankSingleArgumentDataValidationRuleContext.Argument1SingleArgumentDataValidationRuleContext.CellIndexSingleArgumentDataValidationRuleContext.WorksheetDataValidationRuleContextBase.ShowInputMessageDataValidationRuleContextBase.InputMessageTitleDataValidationRuleContextBase.InputMessageContentDataValidationRuleContextBase.ShowErrorMessageDataValidationRuleContextBase.ErrorStyleDataValidationRuleContextBase.ErrorAlertTitleDataValidationRuleContextBase.ErrorAlertContent

Constructors

NumberDataValidationRuleContext(Worksheet, CellIndex)

Initializes a new instance of the NumberDataValidationRuleContext class.

Declaration

cs-api-definition
public NumberDataValidationRuleContext(Worksheet worksheet, CellIndex cellIndex)

Parameters

worksheet

Worksheet

The worksheet.

cellIndex

CellIndex

Index of the cell.

NumberDataValidationRuleContext(Worksheet, int, int)

Initializes a new instance of the NumberDataValidationRuleContext class.

Declaration

cs-api-definition
public NumberDataValidationRuleContext(Worksheet worksheet, int rowIndex, int columnIndex)

Parameters

worksheet

Worksheet

The worksheet.

rowIndex

int

Index of the row.

columnIndex

int

Index of the column.

Properties

Argument2

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

Declaration

cs-api-definition
public string Argument2 { get; set; }

Property Value

string

The second argument.

ComparisonOperator

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

Declaration

cs-api-definition
public ComparisonOperator ComparisonOperator { get; set; }

Property Value

ComparisonOperator

The comparison operator.