Class SingleArgumentDataValidationRuleContext
Base configuration context for data validation rules that use a single argument expression for evaluation.
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Model.DataValidation
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class SingleArgumentDataValidationRuleContext : DataValidationRuleContextBase
Constructors
SingleArgumentDataValidationRuleContext(Worksheet, Int32, Int32)
Initializes a new instance of the SingleArgumentDataValidationRuleContext class.
Declaration
public SingleArgumentDataValidationRuleContext(Worksheet worksheet, int rowIndex, int columnIndex)
Parameters
|
Worksheet
worksheet
The worksheet. |
|
System.Int32
rowIndex
Index of the row. |
|
System.Int32
columnIndex
Index of the column. |
SingleArgumentDataValidationRuleContext(Worksheet, CellIndex)
Initializes a new instance of the SingleArgumentDataValidationRuleContext class.
Declaration
public SingleArgumentDataValidationRuleContext(Worksheet worksheet, CellIndex cellIndex)
Parameters
|
Worksheet
worksheet
|
|
CellIndex
cellIndex
|
Properties
Argument1
Expression or value used as the primary validation criterion, which may be a literal value or a formula reference.
Declaration
public string Argument1 { get; set; }
Property Value
|
System.String
The first argument. |
CellIndex
Cell location where the validation rule is defined, used as the base reference for relative formula expressions.
Declaration
public CellIndex CellIndex { get; set; }
Property Value
|
CellIndex
The index of the cell. |
IgnoreBlank
Controls whether empty cells bypass validation and are considered valid regardless of the rule.
Declaration
public bool IgnoreBlank { get; set; }
Property Value
|
System.Boolean
The value indicating if blank cells should be ignored. |
Worksheet
Worksheet containing the validated cells, required for evaluating formula-based validation arguments.
Declaration
public Worksheet Worksheet { get; set; }
Property Value
|
Worksheet
The worksheet. |