ICellValidator Interface

Represents a validator for cell values in a spreadsheet.

Namespace: Radzen.Documents.Spreadsheet

Assembly: Radzen.Blazor.dll

Syntax

public interface ICellValidator

Properties

Errorlink

Gets the error message to be displayed when the cell value is invalid according to the validator's rules.

Declaration
public string Error { get; }
Property Value
Type Description
stringGets the error message to be displayed when the cell value is invalid according to the validator's rules.

Methods

Validatelink

Validates the specified cell against the validation rules defined by the validator.

Declaration
public abstract bool Validate(Documents.Spreadsheet.Cell cell)
Parameters
Type Name Description
Documents.Spreadsheet.Cell cell
Returns
Type Description
boolTrue if the cell value is valid according to the validator's rules; otherwise, false.
In This Article
An error has occurred. This app may no longer respond until reloaded. Reload 🗙