HtmlForgeX

API Reference

Class

EmailArticleList

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

Compact list of articles/links rendered as an email-safe card (no raw HTML required). Complements EmailArticleCard when you want a denser layout.

Inheritance

Constructors

Methods

AddItem 2 overloads
public EmailArticleList AddItem(String title, String href, String description = "", String meta = "", String icon = "📝") #
Returns: EmailArticleList

Adds an item.

Parameters

title System.String requiredposition: 0
href System.String requiredposition: 1
description System.String = "" optionalposition: 2
meta System.String = "" optionalposition: 3
icon System.String = "📝" optionalposition: 4
public EmailArticleList AddItem(Action<EmailArticleListItem> configure) #
Returns: EmailArticleList

Adds an item configured via callback.

Parameters

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

Properties

public String Icon { get; set; } #

Optional icon shown next to the list title.

public String Title { get; set; } #

List title.

public String Description { get; set; } #

Optional description under the title.

public List<EmailArticleListItem> Items { get; } #

Items rendered in the list.

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 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 MetaColor { get; set; } #

Meta / muted color.