The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
Row

Cell.ColumnIndex Property

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

Namespace: DevExpress.Spreadsheet

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

Declaration

int ColumnIndex { get; }
ReadOnly Property ColumnIndex As Integer
int ColumnIndex { get; }
ReadOnly Property ColumnIndex As Integer

Property Value

Type Description
Int32

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

Property Value

Type Description
Int32

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

Remarks

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.

SpreadsheetControl_Row_Column_Indexes

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

See Also