API Reference
Class
TableCell
A table cell: either markup text (optionally with a status marker), or a raw value that the column's presenter formats (numbers, bytes, dates, statuses, data bars...). Raw values also feed totals and tone rules.
Inheritance
- Object
- TableCell
Usage
Explore 16 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 8
- Property KeyValueItem.Cell
- Property RecordItem.Cell
- Property Table.Rows
- Method TableCell.ForStatus
- Method TableCell.FromValue
- Method TableCell.op_Implicit
- Property Table.Rows
- Property TreeNode.Value
Accepted by parameters 8
- Method RecordView.AddField
- Method RecordView.AddFieldAt
- Method Table.AddRow
- Method Table.SetFooter
- Method Table.AddRow
- Method Table.SetFooter
- Extension method TreeNode.WithValue
- Method TreeNodeFluent.WithValue
Constructors
public TableCell(String markup) #Creates a cell from markup.
Parameters
- markup System.String
- The markup.
Methods
public static TableCell ForStatus(StatusKind status, String? text = null) #Returns:
TableCellCreates a status cell: the marker and the text take the status colour; this is the row's one colour signal.
Parameters
- status ConsoleMonster.Styling.StatusKind
- The status.
- text System.String? = null
- The text (plain), or null for the status word.
Returns
The cell.
public static TableCell FromValue(Object? value) #Returns:
TableCellCreates a value cell: the column's presenter formats it, and totals and tone rules read it.
Parameters
- value System.Object?
- The raw value (null is an empty cell).
Returns
The cell.
public static TableCell op_Implicit(String markup) #Returns:
TableCellConverts a string (markup) to a cell.
Parameters
- markup System.String
- The markup.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?