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 CustomDataValidationRule class.
Declaration
public CustomDataValidationRule(SingleArgumentDataValidationRuleContext context)
Parameters
SingleArgumentDataValidationRuleContext
context
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.Int32
rowIndex
Index of the row. |
System.Int32
columnIndex
Index of the column. |
ICellValue
cellValue
The cell value. |
Returns
System.Boolean
Retrurns True if the rule is satisfied, else returns False. |