TableCell Class

Defines a cell in a TableRow

public class TableCell : ContainerBlock

See also

Inheritance
ContainerBlock TableCell

Constructors

NameDescription
TableCell()Initializes a new instance of the TableCell class.
TableCell(BlockParser?)Initializes a new instance of the TableCell class.

TableCell overloads

TableCell()

TableCell.cs

Initializes a new instance of the TableCell class.

public TableCell()

TableCell(BlockParser?)

TableCell.cs

Initializes a new instance of the TableCell class.

public TableCell(BlockParser? parser)
Parameters
parser BlockParser?
The parser used to create this block.

Properties

NameDescription
AllowCloseGets or sets whether this cell can be closed.
ColumnIndexGets or sets the index of the column to which this cell belongs.
ColumnSpanGets or sets the column span this cell is covering. Default is 1.
RowSpanGets or sets the row span this cell is covering. Default is 1.

AllowClose

TableCell.cs

Gets or sets whether this cell can be closed.

public bool AllowClose { get; set; }

Property value

bool

ColumnIndex

TableCell.cs

Gets or sets the index of the column to which this cell belongs.

public int ColumnIndex { get; set; }

Property value

int

ColumnSpan

TableCell.cs

Gets or sets the column span this cell is covering. Default is 1.

public int ColumnSpan { get; set; }

Property value

int

Gets or sets the row span this cell is covering. Default is 1.

public int RowSpan { get; set; }

Property value

int