Represents a collection holding table rows.
Properties
Count
: intGets the number of rows in the collection.
Methods
public int Add(IEnumerable<IRenderable> columns)
Adds a new row.
Parameters:
columns (IEnumerable<IRenderable>)The columns that are part of the row to add.
Returns:
The index of the added item.
public void Clear()
Clears all rows.
public IEnumerator<TableRow> GetEnumerator()
public int Insert(int index, IEnumerable<IRenderable> columns)
Inserts a new row at the specified index.
Parameters:
index (int)The index to insert the row at.
columns (IEnumerable<IRenderable>)The columns that are part of the row to insert.
Returns:
The index of the inserted item.
public void RemoveAt(int index)
Removes a row at the specified index.
Parameters:
index (int)The index to remove a row at.
public void Update(int row, int column, IRenderable cellData)
Update a table cell at the specified index.
Parameters:
row (int)Index of cell row.
column (int)index of cell column.
cellData (IRenderable)The new cells details.