HtmlForgeX

API Reference

Class

EmailFaqList

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

Email-safe FAQ/Q&A block rendered as a compact table-based card. Designed to keep users away from raw HTML while remaining compatible with legacy clients (including Outlook).

Inheritance

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Accepted by parameters

Constructors

Methods

AddItem 2 overloads
public EmailFaqList AddItem(String question, String answer, String href = "") #
Returns: EmailFaqList

Adds a Q&A item.

Parameters

question System.String requiredposition: 0
answer System.String requiredposition: 1
href System.String = "" optionalposition: 2
public EmailFaqList AddItem(Action<EmailFaqItem> configure) #
Returns: EmailFaqList

Adds a Q&A item configured via callback.

Parameters

configure System.Action{HtmlForgeX.Email.EmailFaqItem} 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<EmailFaqItem> Items { get; } #

FAQ items shown in the list.

public Boolean WithNumbering { get; set; } #

When true, prefixes questions with 1., 2., 3...

public Boolean ShowDividers { get; set; } #

When true, renders separators between items.

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

Question color (theme-aware by default).

public String AnswerColor { get; set; } #

Answer text color (theme-aware by default).

public String MutedColor { get; set; } #

Muted color used for optional meta/links.

public String LinkColor { get; set; } #

Link color (theme-aware by default).

public String QuestionFontSize { get; set; } #

Question font size.

public String AnswerFontSize { get; set; } #

Answer font size.

public String AnswerLineHeight { get; set; } #

Answer line height.