Table of Contents

Class Cell

Namespace
Loehnert.Asciidoc
Assembly
Loehnert.Asciidoc.dll

Represents a cell of a table.

public class Cell
Inheritance
Cell
Inherited Members

Constructors

Cell()

Initializes a new instance of the Cell class.

public Cell()

Cell(Element)

Initializes a new instance of the Cell class.

public Cell(Element content)

Parameters

content Element

Content of the cell.

Properties

ColumnSpan

Gets or sets the column span.

public int ColumnSpan { get; set; }

Property Value

int

Content

Gets or sets the content.

public Element Content { get; set; }

Property Value

Element

HorizontalContentAlignment

Gets or sets the horizontal content alignment.

public HorizontalCellContentAlignment HorizontalContentAlignment { get; set; }

Property Value

HorizontalCellContentAlignment

RowSpan

Gets or sets the row span.

public int RowSpan { get; set; }

Property Value

int

Style

Gets or sets the style.

public CellStyle Style { get; set; }

Property Value

CellStyle

VerticalContentAlignment

Gets or sets the vertical content alignment.

public VerticalCellContentAlignment VerticalContentAlignment { get; set; }

Property Value

VerticalCellContentAlignment

Operators

implicit operator Cell(Element)

Initializes a new cell, with content.

public static implicit operator Cell(Element content)

Parameters

content Element

Content of the cell.

Returns

Cell

implicit operator Cell(string)

Initializes a new cell, with a Run as content.

public static implicit operator Cell(string content)

Parameters

content string

Text content of the cell.

Returns

Cell