ClassIfFunction
Implements the IF function, which evaluates a logical condition and returns one value when TRUE and another when FALSE.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class IfFunction : FunctionBase
Inheritance: objectFunctionBaseIfFunction
Inherited Members
Constructors
IfFunction()
Initializes a new IF function instance for conditional branching based on boolean evaluation.
Declaration
public IfFunction()
Fields
FunctionName
The name of the function.
Properties
ArgumentConversionRules
Gets the rules controlling how arguments are converted before evaluation.
Declaration
public override ArgumentConversionRules ArgumentConversionRules { get; }
Property Value
The argument conversion rules as ArgumentConversionRules.
Overrides
FunctionInfo
Gets metadata describing the function's category, description, and argument structure.
Declaration
public override FunctionInfo FunctionInfo { get; }
Property Value
The function info as FunctionInfo.
Overrides
Methods
EvaluateOverride(FunctionEvaluationContext<RadExpression>)
Evaluates the function by testing the logical condition and returning the corresponding true-branch or false-branch value.
Declaration
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<RadExpression> context)
Parameters
context
FunctionEvaluationContext<RadExpression>
The context.
Returns
Function result as RadExpression.
Overrides