HtmlForgeX

API Reference

Class

TablerText

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Element

Represents a text element styled using Tabler CSS classes.

Inheritance

Constructors

TablerText 2 overloads
public TablerText() #

Initializes or configures TablerText.

public TablerText(String text) #

Initializes or configures TablerText.

Parameters

text System.String requiredposition: 0

Methods

Color 3 overloads
public TablerText Color(RGBColor color) #
Returns: TablerText

Initializes or configures Color.

Parameters

color HtmlForgeX.TablerColor requiredposition: 0
Color(HtmlForgeX.RGBColor color) #

Set text color using full RGBColor.

Parameters

color HtmlForgeX.RGBColor required
public TablerText Color(String hex) #
Returns: TablerText

Set text color using a hex string (e.g. "#64748B").

Parameters

hex System.String requiredposition: 0
public TablerText Style(TablerTextStyle style) #
Returns: TablerText

Initializes or configures Style.

Parameters

style HtmlForgeX.TablerTextStyle requiredposition: 0
public override String ToString() #
Returns: String

Initializes or configures ToString.

public TablerText Value(String value) #
Returns: TablerText

Initializes or configures Value.

Parameters

value System.String requiredposition: 0
public TablerText Weight(TablerFontWeight weight) #
Returns: TablerText

Initializes or configures Weight.

Parameters

weight HtmlForgeX.TablerFontWeight requiredposition: 0