All docs
V21.2
21.2
21.1
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
Row

IRangeProvider.GetColumnNameByIndex(Int32) Method

Returns the heading of the column with the specified index.

Namespace: DevExpress.Spreadsheet

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

Declaration

string GetColumnNameByIndex(
    int index
)

Parameters

Name Type Description
index Int32

The zero-based index of the column whose heading should be returned.

Returns

Type Description
String

The column’s heading in the A1 reference style. Null (Nothing in Visual Basic), if the specified index is negative or exceeds the last available index (a worksheet limits the number of columns to 16384).

Remarks

Use the IRangeProvider.GetColumnIndexByName method to obtain the column’s index by its heading in the A1 reference style.

See Also