Back to Devexpress

TableColumn.Range Property

officefileapi-devexpress-dot-spreadsheet-dot-tablecolumn-0730b5ab.md

latest2.3 KB
Original Source

TableColumn.Range Property

Returns the cell range that contains the entire table column.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
CellRange Range { get; }
vb
ReadOnly Property Range As CellRange

Property Value

TypeDescription
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.

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

Spreadsheet Tables

TableColumn Interface

TableColumn Members

DevExpress.Spreadsheet Namespace