officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-table-aa02114a.md
Provides access to a collection of table rows.
Namespace : DevExpress.XtraRichEdit.API.Native
Assembly : DevExpress.RichEdit.v25.2.Core.dll
NuGet Package : DevExpress.RichEdit.Core
TableRowCollection Rows { get; }
ReadOnly Property Rows As TableRowCollection
| Type | Description |
|---|---|
| TableRowCollection |
A TableRowCollection interface that enables you to operate with table rows.
|
To obtain a particular cell within a table, use the Table.Item property.
The following code snippets (auto-collected from DevExpress Examples) contain references to the Rows 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.
winforms-richedit-tables-simple-example/CS/TablesSimpleExample/Form1.cs#L188
TableRow targetRow = table.Rows[2];
targetRow.Cells[1].BackgroundColor = Color.FromArgb(99, 122, 110);
word-document-api-table-examples/CS/Program.cs#L166
//Specify the background color for the third row
TableRow targetRow = table.Rows[2];
targetRow.Cells[0].BackgroundColor = Color.FromArgb(99, 122, 110);
winforms-richedit-tables-simple-example/VB/TablesSimpleExample/Form1.vb#L155
Dim targetRow As TableRow = table.Rows(2)
targetRow.Cells(1).BackgroundColor = Color.FromArgb(99, 122, 110)
word-document-api-table-examples/VB/Program.vb#L133
'Specify the background color for the third row
Dim targetRow As TableRow = table.Rows(2)
targetRow.Cells(0).BackgroundColor = Color.FromArgb(99, 122, 110)
See Also