Enum ValidationType
Specifies the type of validation applied to cell values
Namespace: Syncfusion.Blazor.Spreadsheet
Assembly: Syncfusion.Blazor.Spreadsheet.dll
Syntax
public enum ValidationType
Remarks
The ValidationType enumeration defines the type of data that can be entered into a cell or range.
Each validation type is designed to validate a specific category of data, such as numbers, dates, times, text length, predefined list values, or custom formulas.
Fields
| Name | Description |
|---|---|
| Any | Allows any value without applying validation rules. |
| Custom | Validates that input satisfies a custom formula or logical expression. |
| Date | Validates that input contains only date values in recognized date formats. |
| Decimal | Validates that input contains only numeric values, including decimal values. |
| List | Validates that input exactly matches one of the predefined values from a list. |
| TextLength | Validates that the length of the input meets the specified requirements. |
| Time | Validates that input contains only time values in recognized time formats. |
| WholeNumber | Validates that input contains only whole-number values. |