Skip to main content

CellArea.TopRowIndex Property

Gets or sets the index of the top row in the cell area.

Namespace: DevExpress.Spreadsheet.Formulas

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

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

public int TopRowIndex { get; set; }

Property Value

Type Description
Int32

An integer that is the row index.

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the TopRowIndex 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.

See Also