Skip to main content

XlFunc.If(IXlFormulaParameter, IXlFormulaParameter, IXlFormulaParameter) Method

Namespace: DevExpress.Export.Xl

Assembly: DevExpress.Printing.v24.1.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

public static IXlFormulaParameter If(
    IXlFormulaParameter predicate,
    IXlFormulaParameter thenParam,
    IXlFormulaParameter elseParam
)

Parameters

Name Type Description
predicate IXlFormulaParameter

A IXlFormulaParameter object that is the predicate.

thenParam IXlFormulaParameter

A IXlFormulaParameter object that is returned if a predicate is true.

elseParam IXlFormulaParameter

A IXlFormulaParameter object that is returned if a predicate is false.

Returns

Type Description
IXlFormulaParameter

An IXlFormulaParameter object that is the function result.

See Also