Represents a validator for cell values in a spreadsheet.
Namespace: Radzen.Documents.Spreadsheet
Assembly: Radzen.Blazor.dll
public interface ICellValidatorGets the error message to be displayed when the cell value is invalid according to the validator's rules.
public string Error { get; }
| Type | Description |
|---|---|
| string | Gets the error message to be displayed when the cell value is invalid according to the validator's rules. |
Validates the specified cell against the validation rules defined by the validator.
public abstract bool Validate(Documents.Spreadsheet.Cell cell)
| Type | Name | Description |
|---|---|---|
| Documents.Spreadsheet.Cell | cell |
| Type | Description |
|---|---|
| bool | True if the cell value is valid according to the validator's rules; otherwise, false. |