HtmlForgeX

API Reference

Class

EmailBrandStrip

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

Email-safe "trusted by" / customer logos strip (table-based). Works with image logos or simple text logos (no HTML required in user code).

Inheritance

Constructors

Methods

AddLogo 2 overloads
public EmailBrandStrip AddLogo(String src, String alt = "", String href = "", Nullable<Int32> width = null, Nullable<Int32> height = null) #
Returns: EmailBrandStrip

Adds an image logo.

Parameters

src System.String requiredposition: 0
alt System.String = "" optionalposition: 1
href System.String = "" optionalposition: 2
width System.Nullable{System.Int32} = null optionalposition: 3
height System.Nullable{System.Int32} = null optionalposition: 4
public EmailBrandStrip AddTextLogo(String text, String href = "") #
Returns: EmailBrandStrip

Adds a text logo (email-safe fallback when you don't want to embed images).

Parameters

text System.String requiredposition: 0
href System.String = "" optionalposition: 1
public override String ToString() #
Returns: String
public EmailBrandStrip WithSubtitle(String subtitle) #
Returns: EmailBrandStrip

Sets subtitle.

Parameters

subtitle System.String requiredposition: 0
public EmailBrandStrip WithTitle(String title) #
Returns: EmailBrandStrip

Sets the title.

Parameters

title System.String requiredposition: 0

Properties

public String Title { get; set; } #

Optional label shown above the logos.

public String Subtitle { get; set; } #

Optional subtitle under Title.

public List<EmailBrandLogo> Logos { get; } #

Logos displayed in the strip.

public Int32 Columns { get; set; } #

Maximum number of columns used when laying out logos.

public Int32 LogoHeight { get; set; } #

Default logo height (in pixels) when not set on a logo.

public String LogoPadding { get; set; } #

Cell padding for each logo.

public String BackgroundColor { get; set; } #

Background color (theme-aware by default).

public String BorderColor { get; set; } #

Border color.

public String BorderRadius { get; set; } #

Border radius.

public String CardPadding { get; set; } #

Card padding.

public String TitleColor { get; set; } #

Title color (theme-aware by default).

public String SubtitleColor { get; set; } #

Subtitle / muted color.