ClassSingleArgumentDataValidationRuleContext
Base configuration context for data validation rules that use a single argument expression for evaluation.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Model.DataValidation
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class SingleArgumentDataValidationRuleContext : DataValidationRuleContextBase
Inheritance: objectDataValidationRuleContextBaseSingleArgumentDataValidationRuleContext
Derived Classes:
Inherited Members
Constructors
SingleArgumentDataValidationRuleContext(Worksheet, CellIndex)
Initializes a new instance of the SingleArgumentDataValidationRuleContext class.
SingleArgumentDataValidationRuleContext(Worksheet, int, int)
Initializes a new instance of the SingleArgumentDataValidationRuleContext class.
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
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
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
The value indicating if blank cells should be ignored.