HtmlForgeX

API Reference

Enum

TablerTextStyle

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

Defines additional text style utilities.

Inheritance

  • Enum
  • TablerTextStyle

Values

public const TablerTextStyle Muted #

Render the text in a muted color.

Value: 0
public const TablerTextStyle Truncate #

Truncate the text and add an ellipsis when it overflows.

Value: 1
public const TablerTextStyle Monospace #

Render the text in monospace font.

Value: 2
public const TablerTextStyle Primary #

Render the text in primary color.

Value: 3
public const TablerTextStyle Success #

Render the text in success color.

Value: 4

Extension Methods

public static String EnumToString(TablerTextStyle style) #
Returns: String

Converts the style enum value to the corresponding CSS class.

Parameters

style HtmlForgeX.TablerTextStyle requiredposition: 0