API Reference
Enum
BorderWidth
Defines standard border width sizes for email components.
Inheritance
- Enum
- BorderWidth
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Field BorderWidth.Custom
- Field BorderWidth.Medium
- Field BorderWidth.None
- Field BorderWidth.Thick
- Field BorderWidth.Thin
Accepted by parameters
- Extension method BorderWidth.ToCssValue
- Method BorderWidthExtensions.ToCssValue
- Method EmailAlert.WithBorder
- Method EmailAvatar.WithBorder
- Method EmailBlockquote.WithBorder
- Method EmailBox.WithBorder
- Method EmailBox.WithBorderStyle
- Method EmailButton.WithBorder
- Method EmailDivider.WithBorder
- Method EmailHorizontalRule.WithBorder
- Method EmailPreformatted.WithBorder
- Method EmailStatCard.WithBorder
- Method IVisualElement.WithBorder
Inherited Methods
public override sealed Int32 CompareTo(Object target) #Returns:
Int32Inherited from Enum
Parameters
- target Object
public override sealed String ToString(String format, IFormatProvider provider) #Returns:
StringInherited from Enum
Obsolete("The provider argument is not used. Use ToString(String) instead.")Parameters
- format String
Values
Extension Methods
public static String ToCssValue(BorderWidth width, String customValue = null) #Returns:
StringConverts the BorderWidth enum to its CSS pixel value.
Parameters
- width HtmlForgeX.Email.BorderWidth
- The border width enum value.
- customValue System.String = null
- Custom value to use when BorderWidth.Custom is specified.
Returns
The CSS pixel value as a string.