Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / TwoColorScaleRule Class / Evaluate Method
The evaluator.
The row index.
The column index.
The current value.


In This Topic
    Evaluate Method (TwoColorScaleRule)
    In This Topic
    Returns a specified value of the rule if the cell satisfies the condition.
    Syntax
    'Declaration
     
    Public Overrides NotOverridable Function Evaluate( _
       ByVal evaluator As ICalcEvaluator, _
       ByVal baseRow As Integer, _
       ByVal baseColumn As Integer, _
       ByVal actual As IActualValue _
    ) As Object
    'Usage
     
    Dim instance As TwoColorScaleRule
    Dim evaluator As ICalcEvaluator
    Dim baseRow As Integer
    Dim baseColumn As Integer
    Dim actual As IActualValue
    Dim value As Object
     
    value = instance.Evaluate(evaluator, baseRow, baseColumn, actual)
    public override object Evaluate( 
       ICalcEvaluator evaluator,
       int baseRow,
       int baseColumn,
       IActualValue actual
    )

    Parameters

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

    Return Value

    Returns the conditional number value.
    See Also