Spread WPF Documentation
Evaluate Method (TwoColorScaleRule)


GrapeCity.Windows.SpreadSheet.Data Namespace > TwoColorScaleRule Class : Evaluate Method
The evaluator.
The row index.
The column index.
The current value.
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 System.Integer, _
   ByVal baseColumn As System.Integer, _
   ByVal actual As IActualValue _
) As System.Object
'Usage
 
Dim instance As TwoColorScaleRule
Dim evaluator As ICalcEvaluator
Dim baseRow As System.Integer
Dim baseColumn As System.Integer
Dim actual As IActualValue
Dim value As System.Object
 
value = instance.Evaluate(evaluator, baseRow, baseColumn, actual)
public override System.object Evaluate( 
   ICalcEvaluator evaluator,
   System.int baseRow,
   System.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

Reference

TwoColorScaleRule Class
TwoColorScaleRule Members