Spread Windows Forms 13.0 Product Documentation
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / DataValidations Class / Add Method


In This Topic
    Add Method (DataValidations)
    In This Topic
    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