HtmlForgeX

API Reference

Enum

VerticalAlignment

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

Vertical alignment options for table cells in email layouts.

Inheritance

  • Enum
  • VerticalAlignment

Values

public const VerticalAlignment Top #

Align content to the top.

Value: 0
public const VerticalAlignment Middle #

Center content vertically.

Value: 1
public const VerticalAlignment Bottom #

Align content to the bottom.

Value: 2

Extension Methods

public static String ToCssValue(VerticalAlignment alignment) #
Returns: String

Converts the alignment value to its CSS representation.

Parameters

alignment HtmlForgeX.Email.VerticalAlignment requiredposition: 0
Alignment option.

Returns

CSS vertical-align value.