Class TextLengthDataValidationRule
Represents text length data validation rule.
Inheritance
System.Object
TextLengthDataValidationRule
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 TextLengthDataValidationRule : NumberDataValidationRuleBase, IDataValidationRule
Constructors
TextLengthDataValidationRule(NumberDataValidationRuleContext)
Initializes a new instance of the TextLengthDataValidationRule class.
Declaration
public TextLengthDataValidationRule(NumberDataValidationRuleContext context)
Parameters
NumberDataValidationRuleContext
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. |