Spread Windows Forms 12.0 Product Documentation
Add Method (DataValidations)


GrapeCity.Spreadsheet Assembly > GrapeCity.Spreadsheet Namespace > DataValidations Class : Add Method
Applies new TItem item for the specified cell range.
Overload List
OverloadDescription
Adds data validation to the specified range.  
Adds data validation to the specified range.  
Adds data validation to the specified range.  
(Inherited from GrapeCity.Spreadsheet.Conditional.ConditionalObjects<DataValidator,DataValidation,DataValidationExecutedResult>)
Remarks

The Add() method doesn't accept a range reference object. The following method overloads are obsolete and may be removed in the future releases of Spread.NET :

1) Add(Reference,DataValidationType,DataValidationErrorStyle,DataValidationOperator,String,String)

2) Add(Reference[],DataValidationType,DataValidationErrorStyle,DataValidationOperator,String,String)

3) Add(Reference[],DataValidator,Boolean)

Alternatively, you can pass the cell range directly as a parameter.  

See Also

Reference

DataValidations Class
DataValidations Members