.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

Cell.ColumnIndex Property

Gets the index of the column that contains the current cell.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v21.1.Core.dll


int ColumnIndex { get; }

Property Value

Type Description

A zero-based integer value that specifies the index of the column containing the current cell.


Use the ColumnIndex and Cell.RowIndex properties to obtain indexes of the column and row at the intersection of which the current cell is located. To get column and row headings, use the Column.Heading and Row.Heading properties.


To get the string that specifies a cell reference, call the CellRange.GetReferenceA1 or CellRange.GetReferenceR1C1 method for this cell.

See Also