Back to Devexpress

TableRow.Cells Property

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-tablerow-1c636c30.md

latest2.9 KB
Original Source

TableRow.Cells Property

Provides access to a collection of cells within the current row.

Namespace : DevExpress.XtraRichEdit.API.Native

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

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
TableCellCollection Cells { get; }
vb
ReadOnly Property Cells As TableCellCollection

Property Value

TypeDescription
TableCellCollection

A TableCellCollection collection containing cells in a current row.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Cells property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

spreadsheet-document-api-use-worksheet-table-as-data-source/CS/SpreadsheetDocumentServerAsDataSourceExample/Form1.cs#L35

csharp
Table listHeaderTable = listHeader.Tables.Create(listHeader.Range.End, 1, 3);
TableCellCollection listHeaderCells = listHeaderTable.FirstRow.Cells;
listHeader.InsertText(listHeaderCells[0].ContentRange.End, "First Name");

spreadsheet-document-api-use-worksheet-table-as-data-source/VB/SpreadsheetDocumentServerAsDataSourceExample/Form1.vb#L35

vb
Dim listHeaderTable As Table = listHeader.Tables.Create(listHeader.Range.End, 1, 3)
Dim listHeaderCells As TableCellCollection = listHeaderTable.FirstRow.Cells
listHeader.InsertText(listHeaderCells(0).ContentRange.End, "First Name")

See Also

TableRow Interface

TableRow Members

DevExpress.XtraRichEdit.API.Native Namespace