HtmlForgeX

API Reference

Class

TablerHeadingBase

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Element
Modifiers abstract

Base class for Tabler heading elements.

Inheritance

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Constructors

TablerHeadingBase(System.String tagName) #

Initializes a new instance of the TablerHeadingBase class with the specified tag name.

Parameters

tagName System.String required
HTML tag name to use for the heading.

Methods

public TablerHeadingBase Class(String className) #
Returns: TablerHeadingBase
EditorBrowsable(2)

Adds a CSS class to the heading.

Parameters

className System.String requiredposition: 0
public TablerHeadingBase Color(TablerColor color) #
Returns: TablerHeadingBase

Applies a typed Tabler text color.

Parameters

color HtmlForgeX.TablerColor requiredposition: 0
public TablerHeadingBase Style(TablerTextStyle style) #
Returns: TablerHeadingBase

Applies a typed Tabler text style such as muted or secondary.

Parameters

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

Sets the text content of the heading.

Parameters

text System.String requiredposition: 0
public TablerHeadingBase Weight(TablerFontWeight weight) #
Returns: TablerHeadingBase

Applies a typed Tabler font weight.

Parameters

weight HtmlForgeX.TablerFontWeight requiredposition: 0