Interface IDataValidationRule
Represents an interface for data validation rule.
Namespace: Telerik.Windows.Documents.Spreadsheet.Model.DataValidation
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public interface IDataValidationRule
Properties
ErrorAlertContent
Gets the content of the error alert.
Declaration
string ErrorAlertContent { get; }
Property Value
System.String
The content of the error alert. |
ErrorAlertTitle
Gets the error alert title.
Declaration
string ErrorAlertTitle { get; }
Property Value
System.String
The error alert title. |
ErrorStyle
Gets or sets the error style.
Declaration
ErrorStyle ErrorStyle { get; }
Property Value
ErrorStyle
The error style. |
InputMessageContent
Gets or sets the content of the input message.
Declaration
string InputMessageContent { get; }
Property Value
System.String
The content of the input message. |
InputMessageTitle
Gets or sets the input message title.
Declaration
string InputMessageTitle { get; }
Property Value
System.String
The input message title. |
ShowErrorMessage
Gets or sets a value indicating whether an error message should be shown.
Declaration
bool ShowErrorMessage { get; }
Property Value
System.Boolean
The value indicating whether an input message should be shown. |
ShowInputMessage
Gets or sets a value indicating whether an input message should be shown.
Declaration
bool ShowInputMessage { get; }
Property Value
System.Boolean
The value indicating whether an input message should be shown. |
Methods
Evaluate(Worksheet, Int32, Int32, ICellValue)
Evaluates the data validation rule.
Declaration
bool Evaluate(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. |