Table.TableCells Class
Definition
Section titled “Definition”A collection class that contains all the cells of the Table and methods to modify them.
public sealed class Table.TableCells : IEnumerable<Table.Cell>, IEnumerableInheritance object
Implements IEnumerable<Table.Cell>, IEnumerable
Properties
Section titled “Properties”this[int, int]
Section titled “this[int, int]”Gets or creates a new cell on the specified row and column
public Table.Cell this[int row, int col] { get; }MaxRow
Section titled “MaxRow”The maximum row in the table.
public int MaxRow { get; }MaxColumn
Section titled “MaxColumn”The maximum column in the table.
public int MaxColumn { get; }HeaderRow
Section titled “HeaderRow”True if row 0 should be the header of the table, and remain at the top when vertical scrolling.
public bool HeaderRow { get; set; }The amount of cells currently in the table.
public int Count { get; }Methods
Section titled “Methods”Row(int, bool)
Section titled “Row(int, bool)”Sets the visibility of the entire row
public void Row(int row, bool visible)Parameters
Section titled “Parameters”row int
visible bool
Column(int, bool)
Section titled “Column(int, bool)”Sets the visibility of the entire column
public void Column(int column, bool visible)Parameters
Section titled “Parameters”column int
visible bool
Column(int)
Section titled “Column(int)”Get the layout for the given column
public Table.TableCells.Layout Column(int column)Parameters
Section titled “Parameters”column int
Returns
Section titled “Returns”Row(int)
Section titled “Row(int)”Get the layout for the given row
public Table.TableCells.Layout Row(int row)Parameters
Section titled “Parameters”row int
Returns
Section titled “Returns”GetCell(int, int)
Section titled “GetCell(int, int)”Gets the cell at the given row and col
public Table.Cell GetCell(int row, int col)Parameters
Section titled “Parameters”row int
col int
Returns
Section titled “Returns”Select(int, int)
Section titled “Select(int, int)”Sets the specified cell as the selected cell if it exists.
public void Select(int row, int column)Parameters
Section titled “Parameters”row int
column int
Deselect()
Section titled “Deselect()”Deselects the current selected cell.
public void Deselect()Remove(int, int)
Section titled “Remove(int, int)”Removes a cell from the table.
public void Remove(int row, int column)Parameters
Section titled “Parameters”row int
column int
Clear(bool)
Section titled “Clear(bool)”Resets all the cells data
public void Clear(bool clearLayoutOptions = true)Parameters
Section titled “Parameters”clearLayoutOptions bool
ClearContent(bool)
Section titled “ClearContent(bool)”Removes all rows and columns except the header if applicable
public void ClearContent(bool clearLayoutOptionsForContent = true)Parameters
Section titled “Parameters”clearLayoutOptionsForContent bool
GetEnumerator()
Section titled “GetEnumerator()”public IEnumerator<Table.Cell> GetEnumerator()