Class CustomDataValidationRule
Represents a custom data validation rule.
Inheritance
System.Object
CustomDataValidationRule
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.Documents.Spreadsheet.Model.DataValidation
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public sealed class CustomDataValidationRule : SingleArgumentDataValidationRuleBase, IDataValidationRule
Constructors
CustomDataValidationRule(SingleArgumentDataValidationRuleContext)
Initializes a new instance of the Custom
Declaration
public CustomDataValidationRule(SingleArgumentDataValidationRuleContext context)
Parameters
Single The context. |
Methods
EvaluateOverride(Worksheet, Int32, Int32, ICellValue)
Evaluates the data validation rule.
Declaration
protected override bool EvaluateOverride(Worksheet worksheet, int rowIndex, int columnIndex, ICellValue cellValue)
Parameters
Worksheet
worksheet
The worksheet. |
System. Index of the row. |
System. Index of the column. |
ICell The cell value. |
Returns
System. Retrurns True if the rule is satisfied, else returns False. |