Skip to main content
.NET Framework 4.5.2+
Row

TableColumn.Range Property

Returns the cell range that contains the entire table column.

Namespace: DevExpress.Spreadsheet

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

Declaration

CellRange Range { get; }

Property Value

Type Description
CellRange

A CellRange object.

Remarks

The Range property returns the cell range that contains the entire column of the table. A column range is highlighted in the following image.

SpreadsheetControl_TableColumn_Range

To get the cell range that contains the column data excluding the header and total cells of the column, use the TableColumn.DataRange property. The TableColumn.Total property returns the total cell of the table column. To change the table column header, use the TableColumn.Name property.

To obtain the cell range that contains the whole table or table data, use the Table.Range or Table.DataRange property. The Table.HeaderRowRange and Table.TotalRowRange properties return cell ranges containing a table’s header row and total row respectively.

See Also