HtmlForgeX

API Reference

Class

EmailTodoList

Namespace HtmlForgeX.Email
Assembly HtmlForgeX.Email
Base Element
Implements

Email-safe to-do list rendered with table markup and small status indicators. Useful for task digests, checklists and monthly reminders.

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 EmailTodoList() #

Creates a new to-do list with default row spacing.

Methods

AddItem 2 overloads
public EmailTodoList AddItem(Action<EmailTodoItem> configure) #
Returns: EmailTodoList

Adds an item configured via callback.

Parameters

configure System.Action{HtmlForgeX.Email.EmailTodoItem} requiredposition: 0
public EmailTodoList AddItem(String title, EmailTodoStatus status = Pending, String meta = "", String description = "", String href = null) #
Returns: EmailTodoList

Adds an item.

Parameters

title System.String requiredposition: 0
status HtmlForgeX.Email.EmailTodoStatus = Pending optionalposition: 1
meta System.String = "" optionalposition: 2
description System.String = "" optionalposition: 3
href System.String = null optionalposition: 4
public override String ToString() #
Returns: String

Properties

public List<EmailTodoItem> Items { get; } #

Items in the to-do list.

public String IndicatorSize { get; set; } #

Indicator size (e.g. "18px").

public String IndicatorGap { get; set; } #

Gap between indicator and text.

public String IndicatorRadius { get; set; } #

Indicator corner radius (e.g. "6px").

public String IndicatorFontSize { get; set; } #

Indicator font size.

public String TitleColor { get; set; } #

Title color.

public String DescriptionColor { get; set; } #

Description color.

public String MetaColor { get; set; } #

Meta (due date) color.