HtmlForgeX

API Reference

Class

EmailKpiDelta

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

Small delta indicator (arrow + text) suitable for embedding in metric tiles/cards.

Inheritance

Constructors

Methods

public override String ToString() #
Returns: String
public EmailKpiDelta WithColor(String color) #
Returns: EmailKpiDelta

Sets a color override.

Parameters

color System.String requiredposition: 0
public EmailKpiDelta WithText(String text, EmailTrendDirection direction = Neutral) #
Returns: EmailKpiDelta

Sets text and direction.

Parameters

text System.String requiredposition: 0
direction HtmlForgeX.Email.EmailTrendDirection = Neutral optionalposition: 1

Properties

public String Text { get; set; } #

Delta text (e.g., "+8% vs last week").

public EmailTrendDirection Direction { get; set; } #

Direction used to pick arrow and default color.

public String Color { get; set; } #

Color override (optional).

public String FontFamily { get; set; } #

Font family.

public String FontSize { get; set; } #

Font size.

public String FontWeight { get; set; } #

Font weight.

public String LineHeight { get; set; } #

Line height.

public Boolean ShowArrow { get; set; } #

Whether to include an arrow prefix.