HtmlForgeX

API Reference

Class

EmailCommentList

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

Email-safe comment list rendered using table markup. Useful for "top comments", feedback digests, PR review summaries, etc.

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

public EmailCommentList() #

Creates a new comment list with default spacing.

Methods

AddComment 2 overloads
public EmailCommentList AddComment(Action<EmailCommentItem> configure) #
Returns: EmailCommentList

Adds a comment configured via callback.

Parameters

configure System.Action{HtmlForgeX.Email.EmailCommentItem} requiredposition: 0
public EmailCommentList AddComment(String author, String text, String meta = "", String href = null, String avatarSource = null, String avatarInitials = null) #
Returns: EmailCommentList

Adds a comment.

Parameters

author System.String requiredposition: 0
text System.String requiredposition: 1
meta System.String = "" optionalposition: 2
href System.String = null optionalposition: 3
avatarSource System.String = null optionalposition: 4
avatarInitials System.String = null optionalposition: 5
public override String ToString() #
Returns: String

Properties

public List<EmailCommentItem> Comments { get; } #

Comments in the list.

public Boolean ShowAvatars { get; set; } #

Whether to show avatars.

public Boolean ShowMeta { get; set; } #

Whether to show meta text when provided.

public String AvatarSize { get; set; } #

Avatar size (e.g. "48px").

public String AvatarGap { get; set; } #

Gap between avatar and bubble.

public String BubbleRadius { get; set; } #

Bubble corner radius.

public String BubblePadding { get; set; } #

Bubble padding.

public String AccentWidth { get; set; } #

Accent stripe width (e.g. "4px").

public String AccentColor { get; set; } #

Accent stripe color (defaults to theme accent).

public String BubbleBackgroundColor { get; set; } #

Bubble background color.

public String BubbleBorderColor { get; set; } #

Bubble border color.

public String AuthorColor { get; set; } #

Author text color.

public String TextColor { get; set; } #

Comment text color.

public String MetaColor { get; set; } #

Meta text color.

public EmailTextWrapMode WrapMode { get; set; } #

Comment text wrapping behavior.