API Reference
Class
EmailTableRow
Represents a table row in an email table.
Inheritance
- Object
- EmailTableRow
Constructors
public EmailTableRow() #Methods
AddCell 3 overloads
public EmailTableCell AddCell(String text, Alignment align) #Returns:
EmailTableCellAdds a simple text cell to the row.
Parameters
- text System.String
- The cell text.
- align System.String = "left"
- The text alignment.
Returns
The EmailTableCell that was added.
AddCell(System.String text, HtmlForgeX.Email.Alignment align) #Adds a simple text cell to the row with strongly-typed alignment.
Parameters
- text System.String
- align HtmlForgeX.Email.Alignment
public EmailTableCell AddCell(Action<EmailTableCell> config) #Returns:
EmailTableCellAdds a cell with custom configuration.
Parameters
- config System.Action{HtmlForgeX.Email.EmailTableCell}
- The configuration action for the cell.
Returns
The EmailTableCell that was added.
public EmailTableCell AddImageCell(String imageSrc, Int32 width = 64, Int32 height = 64, String alt = "") #Returns:
EmailTableCellAdds an image cell to the row.
Parameters
- imageSrc System.String
- The image source URL.
- width System.Int32 = 64
- The image width.
- height System.Int32 = 64
- The image height.
- alt System.String = ""
- The image alt text.
Returns
The EmailTableCell that was added.
Inherited Methods
Properties
public List<EmailTableCell> Cells { get; set; } #Cells contained in this row.