Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / DataValidator Class / IsValid Method
The evaluator.
The base row.
The base column.
The current value.


In This Topic
    IsValid Method (DataValidator)
    In This Topic
    Determines whether the current value is valid.
    Syntax
    'Declaration
     
    Public Overridable Function IsValid( _
       ByVal evaluator As ICalcEvaluator, _
       ByVal baseRow As Integer, _
       ByVal baseColumn As Integer, _
       ByVal actual As Object _
    ) As Boolean
    'Usage
     
    Dim instance As DataValidator
    Dim evaluator As ICalcEvaluator
    Dim baseRow As Integer
    Dim baseColumn As Integer
    Dim actual As Object
    Dim value As Boolean
     
    value = instance.IsValid(evaluator, baseRow, baseColumn, actual)
    public virtual bool IsValid( 
       ICalcEvaluator evaluator,
       int baseRow,
       int baseColumn,
       object actual
    )

    Parameters

    evaluator
    The evaluator.
    baseRow
    The base row.
    baseColumn
    The base column.
    actual
    The current value.

    Return Value

    true The value is valid; otherwise, false.
    See Also