Skip to main content

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

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
leftColumnIndex Int32

An integer that is the index of the leftmost column in the range which the CellArea represents.

topRowIndex Int32

An integer that is the index of the top row in the range which the CellArea represents.

rightColumnIndex Int32

An integer that is the index of the rightmost column in the range which the CellArea represents.

bottomRowIndex Int32

An integer that is the index of the bottom row in the range which the CellArea represents.

#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.

See Also