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

FormulaEngine.Parse(String, ExpressionContext) Method

Parses the specified formula in the specified context.

Namespace: DevExpress.Spreadsheet.Formulas

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

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

ParsedExpression Parse(
    string formula,
    ExpressionContext context
)

#Parameters

Name Type Description
formula String

A string that is the expression to parse. The leading equals “=” symbol is optional.

context ExpressionContext

A ExpressionContext object specifying the context for parsing a formula.

#Returns

Type Description
ParsedExpression

A ParsedExpression object providing access to the expression tree.

#Remarks

See this FormulaEngine.Parse method overload topic for a use example.

See Also