Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
Row

ValueObject.FromFormula(String, Boolean) Method

Creates the ValueObject instance using the formula string.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v19.1.Core.dll

Declaration

public static ValueObject FromFormula(
    string formula,
    bool invariant
)

Parameters

Name Type Description
formula String

A string that is a valid worksheet formula. For use in data validation, the formula must begin with an equal sign and it must evaluate to either true or false.

invariant Boolean

true, if the formula is in the invariant (English) culture; otherwise, false.

Returns

Type Description
ValueObject

A ValueObject instance.

Remarks

Use the ValueObject.Formula property to obtain the formula from the created object. To determine whether the ValueObject originates from the formula, check the ValueObject.IsFormula property.

See Also