Back to Devexpress

CellRange.FormulaInvariant Property

officefileapi-devexpress-dot-spreadsheet-dot-cellrange-4510b056.md

latest3.4 KB
Original Source

CellRange.FormulaInvariant Property

Gets or sets the range formula in the invariant culture.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
string FormulaInvariant { get; set; }
vb
Property FormulaInvariant As String

Property Value

TypeDescription
String

A string that is the worksheet formula in the invariant culture (English).

|

The following code snippets (auto-collected from DevExpress Examples) contain references to the FormulaInvariant property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-spreadsheetcontrol-api-part-2/CS/SpreadsheetControl_API_Part02/SpreadsheetActions/CustomFunctionActions.cs#L47

csharp
worksheet["B2"].Value = "";
worksheet["C2"].FormulaInvariant = "=SPHEREMASS(A2)";
worksheet["C2"].NumberFormat = "#.##";

wpf-spreadsheetcontrol-api-part-2/CS/SpreadsheetControl_WPF_API_Part02/SpreadsheetActions/CustomFunctionActions.cs#L43

csharp
worksheet["B2"].Value = "";
worksheet["C2"].FormulaInvariant = "=SPHEREMASS(A2)";
worksheet["C2"].NumberFormat = "#.##";

winforms-spreadsheetcontrol-api-part-2/VB/SpreadsheetControl_API_Part02/SpreadsheetActions/CustomFunctionActions.vb#L48

vb
worksheet("B2").Value = ""
worksheet("C2").FormulaInvariant = "=SPHEREMASS(A2)"
worksheet("C2").NumberFormat = "#.##"

wpf-spreadsheetcontrol-api-part-2/VB/SpreadsheetControl_WPF_API_Part02/SpreadsheetActions/CustomFunctionActions.vb#L44

vb
worksheet("B2").Value = ""
worksheet("C2").FormulaInvariant = "=SPHEREMASS(A2)"
worksheet("C2").NumberFormat = "#.##"

See Also

CellRange Interface

CellRange Members

DevExpress.Spreadsheet Namespace