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:
C#
public sealed class AnyValueDataValidationRule : DataValidationRuleBase, IDataValidationRule
Inheritance: objectDataValidationRuleBaseAnyValueDataValidationRule
Implements:
Inherited Members
Constructors
Initializes a new AnyValueDataValidationRule that permits all input values.
C#
public AnyValueDataValidationRule(AnyValueDataValidationRuleContext context)
The context.
Methods
Evaluates the validation rule and always returns true since any value is considered valid.
C#
protected override bool EvaluateOverride(Worksheet worksheet, int rowIndex, int columnIndex, ICellValue cellValue)
The worksheet.
rowIndexintIndex of the row.
columnIndexintIndex of the column.
cellValueICellValueThe cell value.
Returns:Retrurns True if the rule is satisfied, else returns False.
Overrides: