TableCell

Represents a table cell that can span multiple columns.

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 : int

Gets the number of columns this cell spans.

Content : IRenderable

Gets 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.