Table of Contents

Constructor MailTableCell

Namespace
MailFathom.Application.EmailContent.Rendering.Document.Blocks
Assembly
MailFathom.Application.dll

MailTableCell(int, int, MailBlockAlignment, MailDocumentColour?, IReadOnlyList<MailDocumentBlock>)

One cell of a table, and everything it holds.

public MailTableCell(int ColumnSpan, int RowSpan, MailBlockAlignment Alignment, MailDocumentColour? Background, IReadOnlyList<MailDocumentBlock> Blocks)

Parameters

ColumnSpan int

How many columns the cell covers, which is one unless the message said otherwise.

RowSpan int

How many rows the cell covers, which is one unless the message said otherwise.

Alignment MailBlockAlignment

How the cell places its content across its own width.

Background MailDocumentColour?

The colour the message asked the cell to be, or null where it asked for none.

Blocks IReadOnlyList<MailDocumentBlock>

What the cell holds, in reading order.

Remarks

A cell holds blocks because a mail layout table holds paragraphs, pictures, and further tables inside its cells. The nesting depth that admits is bounded during the reduction rather than here.