Skip to main content
All docs
V24.2
Row

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

Cell.IsTopLeftCellInDynamicArrayFormulaRange Property

Indicates whether the current cell is the top left cell in the dynamic array formula range.

Namespace: DevExpress.Spreadsheet

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

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

bool IsTopLeftCellInDynamicArrayFormulaRange { get; }

#Property Value

Type Description
Boolean

true if the current cell is the top left cell in the array formula range; otherwise, false.

#Remarks

Use the IsTopLeftCellInArrayFormulaRange property to obtain the array formula for a cell.

Cells which belong to a dynamic array formula range behave differently from other cells. If a cell belongs to the array formula range, its value and formula are protected, so an attempt to modify cell data throws an exception. For all cells in the range except the top left cell, the CellRange.ArrayFormula and CellRange.Formula properties return an empty string.

Get the range of cells by the Cell.GetDynamicArrayFormulaRange method call. Loop through each cell and check the IsTopLeftCellInDynamicArrayFormulaRange property to find the top left cell. The value of the CellRange.DynamicArrayFormula property of this cell returns the formula string.

See Also