HtmlForgeX

API Reference

Enum

EmailTableStyle

Namespace HtmlForgeX.Email
Assembly HtmlForgeX.Email
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

Defines predefined visual styles for email tables based on their appearance.

Inheritance

  • Enum
  • EmailTableStyle

Values

public const EmailTableStyle Minimal #

Minimal styling with light gray headers

Value: 0
public const EmailTableStyle Striped #

Alternating row colors for better readability

Value: 1
public const EmailTableStyle Bordered #

Visible borders around all cells

Value: 2
public const EmailTableStyle Compact #

Reduced padding for space-efficient display

Value: 3
public const EmailTableStyle PurpleAccent #

Purple headers with centered alignment

Value: 4
public const EmailTableStyle GrayBold #

Gray striped rows with bold text

Value: 5
public const EmailTableStyle GreenAccent #

Green accent border on headers

Value: 6
public const EmailTableStyle PurpleHeader #

Purple text in headers

Value: 7
public const EmailTableStyle GreenCentered #

Green headers with centered content

Value: 8
public const EmailTableStyle DarkGray #

Dark gray headers with large fonts

Value: 9
public const EmailTableStyle PurpleGradient #

Purple gradient headers

Value: 10
public const EmailTableStyle BlueAccent #

Blue headers with blue borders

Value: 11
public const EmailTableStyle GrayGradient #

Gray gradient headers

Value: 12
public const EmailTableStyle Professional #

Professional styling with dark borders

Value: 13
public const EmailTableStyle Modern #

Modern minimalist design with light borders

Value: 14
public const EmailTableStyle Dark #

Dark theme with inverted colors

Value: 15
public const EmailTableStyle RainbowGradient #

Rainbow gradient headers

Value: 16
public const EmailTableStyle GreenMonospace #

Green theme with monospace font

Value: 17
public const EmailTableStyle PurpleTheme #

Purple themed table

Value: 18
public const EmailTableStyle RedAlert #

Red alert/notification styling

Value: 19

Extension Methods

public static ValueTuple<String, Boolean, Boolean, String, String, String, String, ValueTuple<EmailTablePadding>> GetStyle(EmailTableStyle style) #
Returns: ValueTuple<String, Boolean, Boolean, String, String, String, String, ValueTuple<EmailTablePadding>>

Retrieves layout information associated with a predefined table style.

Parameters

style HtmlForgeX.Email.EmailTableStyle requiredposition: 0
The table style to evaluate.

Returns

Tuple containing class name and additional style metadata.