CellArea(Int32, Int32, Int32, Int32) Constructor
Initializes a new instance of the CellArea class with the specified settings.
Namespace: DevExpress.Spreadsheet.Formulas
Assembly: DevExpress.Spreadsheet.v24.2.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
#Declaration
public CellArea(
int leftColumnIndex,
int topRowIndex,
int rightColumnIndex,
int bottomRowIndex
)
#Parameters
Name | Type | Description |
---|---|---|
left |
Int32 | An integer that is the index of the leftmost column in the range which the Cell |
top |
Int32 | An integer that is the index of the top row in the range which the Cell |
right |
Int32 | An integer that is the index of the rightmost column in the range which the Cell |
bottom |
Int32 | An integer that is the index of the bottom row in the range which the Cell |
#Remarks
The value is not validated after assignment. An incorrect value may result in an incorrect CellArea.ColumnCount or CellArea.RowCount property values. However, the references based on the cell area with incorrect settings may be valid due to internal normalization. The CellArea.ToString method, CellArea.TopLeft and CellArea.BottomRight properties always return correct, validated values.