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+
.NET Core 3.0+
Row

Column.Heading Property

Gets the column heading.

Namespace: DevExpress.Spreadsheet

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

Declaration

string Heading { get; }
ReadOnly Property Heading As String
string Heading { get; }
ReadOnly Property Heading As String
string Heading { get; }
ReadOnly Property Heading As String

Property Value

Type Description
String

A string that specifies the column heading.

Property Value

Type Description
String

A string that specifies the column heading.

Property Value

Type Description
String

A string that specifies the column heading.

Remarks

Columns can be identified by their headings displayed at the top of a worksheet (see the How to: Access a Row or Column example).

By default, the A1 reference style is used in a workbook. In this case, columns are lettered ("A", "B", "C",...,"XFD") and the Heading property returns the string that contains the column letter or combination of letters.

Row_Column_Indexes

If the R1C1 reference style is used in a workbook, columns are numbered in a worksheet ("1", "2", "3",... , "16384"). In this case, the Heading property returns the string that specifies the column number.

SpreadsheetControl_R1C1

To hide row and column headings in a worksheet, use the WorksheetView.ShowHeadings property. To specify whether row and column headings should be printed, use the WorksheetPrintOptions.PrintHeadings property of the object accessed via Worksheet.PrintOptions.

See Also