ClassSingleArgumentDataValidationRuleBase
Abstract base for data validation rules that evaluate cell values using a single argument expression, with support for blank cell handling.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Model.DataValidation
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public abstract class SingleArgumentDataValidationRuleBase : DataValidationRuleBase, IDataValidationRule
Inheritance: objectDataValidationRuleBaseSingleArgumentDataValidationRuleBase
Derived Classes:
Implements:
Inherited Members
Constructors
SingleArgumentDataValidationRuleBase(SingleArgumentDataValidationRuleContext)
Initializes a new SingleArgumentDataValidationRuleBase from the specified single-argument validation context.
Declaration
protected SingleArgumentDataValidationRuleBase(SingleArgumentDataValidationRuleContext context)
Parameters
context
SingleArgumentDataValidationRuleContext
The context.
Properties
Argument1
Primary validation criterion expression or value used to evaluate cell validity.
Declaration
public ICellValue Argument1 { get; }
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; }
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; }
Property Value
The value indicating if blank cells should be ignored.
Methods
GetHashCode()
Computes a hash code for this validation rule based on its configuration properties.