HtmlForgeX

API Reference

Class

EmailProgressBar

Namespace HtmlForgeX.Email
Assembly HtmlForgeX.Email
Base Element
Implements

Simple email-safe progress bar rendered with table markup.

Inheritance

Constructors

Methods

public override String ToString() #
Returns: String
public EmailProgressBar WithBorderRadius(String radius) #
Returns: EmailProgressBar

Sets the border radius.

Parameters

radius System.String requiredposition: 0
public EmailProgressBar WithFillColor(String color) #
Returns: EmailProgressBar

Sets the fill color.

Parameters

color System.String requiredposition: 0
public EmailProgressBar WithHeight(String height) #
Returns: EmailProgressBar

Sets the height.

Parameters

height System.String requiredposition: 0
public EmailProgressBar WithLabel(String label = null) #
Returns: EmailProgressBar

Enables the label (defaults to "NN%").

Parameters

label System.String = null optionalposition: 0
public EmailProgressBar WithLabelColor(String color) #
Returns: EmailProgressBar

Sets the label color.

Parameters

color System.String requiredposition: 0
public EmailProgressBar WithSize(EmailProgressSize size) #
Returns: EmailProgressBar

Sets the progress size using a preset height.

Parameters

size HtmlForgeX.Email.EmailProgressSize requiredposition: 0
public EmailProgressBar WithTrackColor(String color) #
Returns: EmailProgressBar

Sets the track color.

Parameters

color System.String requiredposition: 0
public EmailProgressBar WithValue(Int32 value) #
Returns: EmailProgressBar

Sets the progress value (0-100).

Parameters

value System.Int32 requiredposition: 0

Properties

public Int32 Value { get; set; } #

Progress value (0-100).

public String TrackColor { get; set; } #

Track/background color.

public String FillColor { get; set; } #

Fill color.

public String Height { get; set; } #

Height of the bar (e.g. "8px").

public String BorderRadius { get; set; } #

Border radius of the track.

public String Label { get; set; } #

Optional label text under the bar.

public Boolean ShowLabel { get; set; } #

Whether to render the label row.

public String LabelColor { get; set; } #

Label color.