API Reference
Enum
BorderWidth
Defines standard border width sizes for email components.
Inheritance
- Enum
- BorderWidth
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.