Represents a table cell that can span multiple columns.
Constructors
public TableCell(IRenderable content)
Initializes a new instance of the TableCell class.
Parameters:
content (IRenderable)The cell content.
public TableCell(string markup)
Initializes a new instance of the TableCell class.
Parameters:
markup (string)Markup text.
Properties
ColumnSpan
: intGets the number of columns this cell spans.
Content
: IRenderableGets the cell content.
Methods
public TableCell Span(int span)
Sets the number of columns this cell should span.
Parameters:
span (int)The number of columns to span.
Returns:
The same instance so that multiple calls can be chained.