HtmlForgeX

API Reference

Class

EmailAttachmentList

Namespace HtmlForgeX.Email
Assembly HtmlForgeX.Email
Base Element
Implements
Modifiers sealed

Email-safe attachment list (multiple files/links) rendered as a compact table-based card. Complements EmailDownloadCard when you have more than one item.

Inheritance

Constructors

Methods

AddItem 2 overloads
public EmailAttachmentList AddItem(String title, String href, String description = "", String badge = "", String icon = "📄") #
Returns: EmailAttachmentList

Adds an attachment.

Parameters

title System.String requiredposition: 0
href System.String requiredposition: 1
description System.String = "" optionalposition: 2
badge System.String = "" optionalposition: 3
icon System.String = "📄" optionalposition: 4
public EmailAttachmentList AddItem(Action<EmailAttachmentItem> configure) #
Returns: EmailAttachmentList

Adds an attachment configured via callback.

Parameters

configure System.Action{HtmlForgeX.Email.EmailAttachmentItem} requiredposition: 0
public override String ToString() #
Returns: String

Properties

public String Icon { get; set; } #

Optional icon shown in the header.

public String Title { get; set; } #

Header title.

public String Description { get; set; } #

Optional description under the title.

public List<EmailAttachmentItem> Items { get; } #

Attachments rendered in the list.

public String ActionText { get; set; } #

Text for the per-item action link.

public String BackgroundColor { get; set; } #

Background color (theme-aware by default).

public String BorderColor { get; set; } #

Border color.

public String SeparatorColor { get; set; } #

Separator color between list items.

public String BorderRadius { get; set; } #

Border radius.

public String CardPadding { get; set; } #

Card padding.

public String TitleColor { get; set; } #

Title color (theme-aware by default).

public String DescriptionColor { get; set; } #

Description color.

public String MutedColor { get; set; } #

Muted color used for per-item descriptions.

public String LinkColor { get; set; } #

Primary link color (theme-aware by default).

public String BadgeBackgroundColor { get; set; } #

Badge background color (right side).

public String BadgeBorderColor { get; set; } #

Badge border color.

public String BadgeTextColor { get; set; } #

Badge text color.

public String ItemIconBackgroundColor { get; set; } #

Icon circle background color.

public String ItemIconSize { get; set; } #

Icon circle size.