Class IfFunction
Implements the IF function, which evaluates a logical condition and returns one value when TRUE and another when FALSE.
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class IfFunction : FunctionBase
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.
Declaration
public static readonly string FunctionName
Field Value
|
System.String
|
Properties
ArgumentConversionRules
Gets the rules controlling how arguments are converted before evaluation.
Declaration
public override ArgumentConversionRules ArgumentConversionRules { get; }
Property Value
|
ArgumentConversionRules
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
|
FunctionInfo
The function info as FunctionInfo. |
Overrides
Name
Gets the function name "IF" used in formulas.
Declaration
public override string Name { get; }
Property Value
|
System.String
The name as String. |
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
|
FunctionEvaluationContext<RadExpression>
context
The context. |
Returns
|
RadExpression
Function result as RadExpression. |