HtmlForgeX

API Reference

Enum

FontAwesomeStyle

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

FontAwesome icon styles/weights

Inheritance

  • Enum
  • FontAwesomeStyle

Values

public const FontAwesomeStyle Solid #

Solid icons (fas) - filled icons, default style

Value: 0
public const FontAwesomeStyle Regular #

Regular icons (far) - outlined icons

Value: 1
public const FontAwesomeStyle Light #

Light icons (fal) - thinner outlined icons (Pro only)

Value: 2
public const FontAwesomeStyle Duotone #

Duotone icons (fad) - two-tone icons (Pro only)

Value: 3
public const FontAwesomeStyle Brands #

Brands icons (fab) - brand/logo icons

Value: 4
public const FontAwesomeStyle Thin #

Thin icons (fat) - very thin icons (Pro only)

Value: 5

Extension Methods

public static String GetClassPrefix(FontAwesomeStyle style) #
Returns: String

Gets the CSS class prefix for the FontAwesome style

Parameters

style HtmlForgeX.FontAwesomeStyle requiredposition: 0
public static String GetFontFamily(FontAwesomeStyle style) #
Returns: String

Gets the font family name for vis.js usage

Parameters

style HtmlForgeX.FontAwesomeStyle requiredposition: 0