Back to Devexpress

CellRange.DynamicArrayFormulaInvariant Property

officefileapi-devexpress-dot-spreadsheet-dot-cellrange-ec2a0b41.md

latest4.6 KB
Original Source

CellRange.DynamicArrayFormulaInvariant Property

Gets or sets the dynamic array formula in the invariant culture.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

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

Property Value

TypeDescription
String

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

|

The following code snippets (auto-collected from DevExpress Examples) contain references to the DynamicArrayFormulaInvariant 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.

spreadsheet-document-api-examples-part1/CS/SpreadsheetExamples/SpreadsheetActions/FormulaActions.cs#L264

csharp
// Insert dynamic array formulas
worksheet["A2"].DynamicArrayFormulaInvariant = "={\"Red\",\"Green\",\"Orange\",\"Blue\"}";
worksheet.DynamicArrayFormulas.Add(worksheet["B1"], "=LEN(A2:D2)");

winforms-spreadsheetcontrol-api-part1/CS/SpreadsheetControl/SpreadsheetActions/FormulaActions.cs#L313

csharp
// Insert dynamic array formulas
worksheet["A2"].DynamicArrayFormulaInvariant = "={\"Red\",\"Green\",\"Orange\",\"Blue\"}";
worksheet.DynamicArrayFormulas.Add(worksheet["B1"], "=LEN(A2:D2)");

wpf-spreadsheetcontrol-api-part-1/CS/SpreadsheetControl_WPF_API/SpreadsheetActions/FormulaActions.cs#L313

csharp
// Insert dynamic array formulas
worksheet["A2"].DynamicArrayFormulaInvariant = "={\"Red\",\"Green\",\"Orange\",\"Blue\"}";
worksheet.DynamicArrayFormulas.Add(worksheet["B1"], "=LEN(A2:D2)");

spreadsheet-document-api-examples-part1/VB/SpreadsheetExamples/SpreadsheetActions/FormulaActions.vb#L213

vb
' Insert dynamic array formulas
worksheet("A2").DynamicArrayFormulaInvariant = "={""Red"",""Green"",""Orange"",""Blue""}"
worksheet.DynamicArrayFormulas.Add(worksheet("B1"), "=LEN(A2:D2)")

winforms-spreadsheetcontrol-api-part1/VB/SpreadsheetControl/SpreadsheetActions/FormulaActions.vb#L285

vb
' Insert dynamic array formulas
worksheet("A2").DynamicArrayFormulaInvariant = "={""Red"",""Green"",""Orange"",""Blue""}"
worksheet.DynamicArrayFormulas.Add(worksheet("B1"), "=LEN(A2:D2)")

wpf-spreadsheetcontrol-api-part-1/VB/SpreadsheetControl_WPF_API/SpreadsheetActions/FormulaActions.vb#L287

vb
' Insert dynamic array formulas
worksheet("A2").DynamicArrayFormulaInvariant = "={""Red"",""Green"",""Orange"",""Blue""}"
worksheet.DynamicArrayFormulas.Add(worksheet("B1"), "=LEN(A2:D2)")

See Also

CellRange Interface

CellRange Members

DevExpress.Spreadsheet Namespace