Class MailTableCell
- Namespace
- MailFathom.Application.EmailContent.Rendering.Document.Blocks
- Assembly
- MailFathom.Application.dll
One cell of a table, and everything it holds.
public sealed record MailTableCell : IEquatable<MailTableCell>
- Inheritance
-
MailTableCell
- Implements
- Inherited Members
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.
Constructors
- MailTableCell(int, int, MailBlockAlignment, MailDocumentColour?, IReadOnlyList<MailDocumentBlock>)
One cell of a table, and everything it holds.
Properties
- Alignment
How the cell places its content across its own width.
- Background
The colour the message asked the cell to be, or null where it asked for none.
- Blocks
What the cell holds, in reading order.
- ColumnSpan
How many columns the cell covers, which is one unless the message said otherwise.
- RowSpan
How many rows the cell covers, which is one unless the message said otherwise.