Skip to content

Table.TableCells Class

A collection class that contains all the cells of the Table and methods to modify them.

C#
public sealed class Table.TableCells : IEnumerable<Table.Cell>, IEnumerable

Inheritance object

Implements IEnumerable<Table.Cell>, IEnumerable

Gets or creates a new cell on the specified row and column

C#
public Table.Cell this[int row, int col] { get; }

The maximum row in the table.

C#
public int MaxRow { get; }

The maximum column in the table.

C#
public int MaxColumn { get; }

True if row 0 should be the header of the table, and remain at the top when vertical scrolling.

C#
public bool HeaderRow { get; set; }

The amount of cells currently in the table.

C#
public int Count { get; }

Sets the visibility of the entire row

C#
public void Row(int row, bool visible)

row int

visible bool

Sets the visibility of the entire column

C#
public void Column(int column, bool visible)

column int

visible bool

Get the layout for the given column

C#
public Table.TableCells.Layout Column(int column)

column int

Table.TableCells.Layout

Get the layout for the given row

C#
public Table.TableCells.Layout Row(int row)

row int

Table.TableCells.Layout

Gets the cell at the given row and col

C#
public Table.Cell GetCell(int row, int col)

row int

col int

Table.Cell

Sets the specified cell as the selected cell if it exists.

C#
public void Select(int row, int column)

row int

column int

Deselects the current selected cell.

C#
public void Deselect()

Removes a cell from the table.

C#
public void Remove(int row, int column)

row int

column int

Resets all the cells data

C#
public void Clear(bool clearLayoutOptions = true)

clearLayoutOptions bool

Removes all rows and columns except the header if applicable

C#
public void ClearContent(bool clearLayoutOptionsForContent = true)

clearLayoutOptionsForContent bool

C#
public IEnumerator<Table.Cell> GetEnumerator()

IEnumerator<Table.Cell>