IfFunction
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
Initializes a new IF function instance for conditional branching based on boolean evaluation.
public IfFunction()
Fields
The name of the function.
public static readonly string FunctionName
Methods
Evaluates the function by testing the logical condition and returning the corresponding true-branch or false-branch value.
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<RadExpression> context)
The context.
Returns:Function result as RadExpression.
Overrides:
Properties
Gets the rules controlling how arguments are converted before evaluation.
public override ArgumentConversionRules ArgumentConversionRules { get; }
The argument conversion rules as ArgumentConversionRules.
Overrides:
Gets metadata describing the function's category, description, and argument structure.
public override FunctionInfo FunctionInfo { get; }
The function info as FunctionInfo.
Overrides: