ICustomValidation.Validate

ICustomValidation.Validate method

Validate a gridcell’s data is valid or not.

public bool Validate(Worksheet worksheet, int row, int col, object value)
ParameterTypeDescription
worksheetWorksheetWorksheet object.
rowInt32Row index.
colInt32Column index.
valueObjectValue to be validated.

Return Value

True is valid, false is invalid.

See Also