Struct TableRow
Already-formatted display text for one TableMatrix row, one cell per column, in column order, ready to render without any further lookup or formatting.
Inherited Members
Namespace: Serenity.Ui.Domain.Entities
Assembly: Serenity.Ui.Domain.dll
Syntax
public readonly struct TableRow
Constructors
TableRow(params string[])
Creates a row from its already-formatted cell text, one per column, in column order.
Declaration
public TableRow(params string[] cells)
Parameters
| Type | Name | Description |
|---|---|---|
| string[] | cells | The row's cell text. |
Properties
CellCount
How many cells this row has.
Declaration
public int CellCount { get; }
Property Value
| Type | Description |
|---|---|
| int |
Cells
This row's cells, one per column, in column order.
Declaration
public IReadOnlyList<string> Cells { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<string> |
Methods
CellAt(int)
The cell text at index, or "" when the index is out of range.
Declaration
public string CellAt(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index |
Returns
| Type | Description |
|---|---|
| string |