ClassAnyValueDataValidationRule
Validation rule that accepts any cell value without restrictions, used primarily for displaying input messages.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Model.DataValidation
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public sealed class AnyValueDataValidationRule : DataValidationRuleBase, IDataValidationRule
Inheritance: objectDataValidationRuleBaseAnyValueDataValidationRule
Implements:
Inherited Members
Constructors
AnyValueDataValidationRule(AnyValueDataValidationRuleContext)
Initializes a new AnyValueDataValidationRule that permits all input values.
Declaration
public AnyValueDataValidationRule(AnyValueDataValidationRuleContext context)
Parameters
context
AnyValueDataValidationRuleContext
The context.
Methods
EvaluateOverride(Worksheet, int, int, ICellValue)
Evaluates the validation rule and always returns true since any value is considered valid.
Declaration
protected override bool EvaluateOverride(Worksheet worksheet, int rowIndex, int columnIndex, ICellValue cellValue)
Parameters
worksheet
The worksheet.
rowIndex
Index of the row.
columnIndex
Index of the column.
cellValue
The cell value.
Returns
Retrurns True if the rule is satisfied, else returns False.
Overrides