Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ExpressionContext Class

Contains formula environment information - the cell or range, the worksheet, the current culture, the reference style, and indicates whether the formula is an array formula.

Namespace: DevExpress.Spreadsheet.Formulas

Assembly: DevExpress.Spreadsheet.v24.2.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

public class ExpressionContext :
    IExpressionContext,
    EvaluationContext

#Remarks

The ExpressionContext is required for correct formula evaluation and parsing in the FormulaEngine.Evaluate and FormulaEngine.Parse methods. It determines multiple parameters on which the worksheet formula depends.

If the ExpressionContext instance is not explicitly specified, the active cell in the active worksheet is the expression context.

#Inheritance

Object
ExpressionContext
See Also