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
ColumnSpanintHow many columns the cell covers, which is one unless the message said otherwise.
RowSpanintHow many rows the cell covers, which is one unless the message said otherwise.
AlignmentMailBlockAlignmentHow the cell places its content across its own width.
BackgroundMailDocumentColour?The colour the message asked the cell to be, or null where it asked for none.
BlocksIReadOnlyList<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.