Class SingleArgumentDataValidationRuleBase
Abstract base for data validation rules that evaluate cell values using a single argument expression, with support for blank cell handling.
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Model.DataValidation
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public abstract class SingleArgumentDataValidationRuleBase : DataValidationRuleBase, IDataValidationRule
Constructors
SingleArgumentDataValidationRuleBase(SingleArgumentDataValidationRuleContext)
Initializes a new SingleArgumentDataValidationRuleBase from the specified single-argument validation context.
Declaration
protected SingleArgumentDataValidationRuleBase(SingleArgumentDataValidationRuleContext context)
Parameters
|
SingleArgumentDataValidationRuleContext
context
The context. |
Properties
Argument1
Primary validation criterion expression or value used to evaluate cell validity.
Declaration
public ICellValue Argument1 { get; }
Property Value
|
ICellValue
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
|
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; }
Property Value
|
System.Boolean
The value indicating if blank cells should be ignored. |
Methods
Equals(Object)
Determines whether the specified System.Object is equal to the current System.Object.
Declaration
public override bool Equals(object obj)
Parameters
|
System.Object
obj
The System.Object to compare with the current System.Object. |
Returns
|
System.Boolean
true if the specified System.Object is equal to the current System.Object; otherwise, false. |
Overrides
GetHashCode()
Computes a hash code for this validation rule based on its configuration properties.
Declaration
public override int GetHashCode()
Returns
|
System.Int32
A hash code for the current System.Object. |