HtmlForgeX

API Reference

Class

Element

Namespace HtmlForgeX
Assembly HtmlForgeX
Modifiers abstract

Base class for all HTML elements in HtmlForgeX.

Inheritance

  • Object
  • Element

Methods

public TablerAccordion Accordion(Action<TablerAccordion> config) #
Returns: TablerAccordion

Adds and configures an accordion component.

Parameters

config System.Action{HtmlForgeX.TablerAccordion} requiredposition: 0
public TablerActionsAndNotesCard ActionsAndNotesCard(Action<TablerActionsAndNotesCard> config) #
Returns: TablerActionsAndNotesCard

Adds an actions-and-notes card with primary actions and supporting notes.

Parameters

config System.Action{HtmlForgeX.TablerActionsAndNotesCard} requiredposition: 0
public TablerActionSummaryCard ActionSummaryCard(Action<TablerActionSummaryCard> config) #
Returns: TablerActionSummaryCard

Adds an action summary card with a compact metric rail, focus callout, actions, and supporting notes.

Parameters

config System.Action{HtmlForgeX.TablerActionSummaryCard} requiredposition: 0
public TablerActivityFeedCard ActivityFeedCard(Action<TablerActivityFeedCard> config) #
Returns: TablerActivityFeedCard

Adds an activity feed card with a compact metric rail and ranked entries.

Parameters

config System.Action{HtmlForgeX.TablerActivityFeedCard} requiredposition: 0
public virtual Element Add(Element element) #
Returns: Element

Adds a child element to this element. The child's Document reference will only be set when this element already belongs to a document; otherwise it remains null until the parent is later attached.

Parameters

element HtmlForgeX.Element requiredposition: 0
The element to add.

Returns

This element for method chaining.

public TablerAlert Alert(String title, String message, TablerColor alertColor = Default, TablerAlertType alertType = Regular) #
Returns: TablerAlert

Adds an alert element.

Parameters

title System.String requiredposition: 0
message System.String requiredposition: 1
alertColor HtmlForgeX.TablerColor = Default optionalposition: 2
alertType HtmlForgeX.TablerAlertType = Regular optionalposition: 3
public TablerAnalyticsSummaryCard AnalyticsSummaryCard(Action<TablerAnalyticsSummaryCard> config) #
Returns: TablerAnalyticsSummaryCard

Adds an analytics summary card with a larger chart surface and compact follow-up insight cards.

Parameters

config System.Action{HtmlForgeX.TablerAnalyticsSummaryCard} requiredposition: 0
public ApexCharts ApexChart(Action<ApexCharts> config) #
Returns: ApexCharts

Adds an ApexCharts element and applies the provided configuration.

Parameters

config System.Action{HtmlForgeX.ApexCharts} requiredposition: 0
Action used to configure the chart.

Returns

The created chart element.

public TablerApexChartCard ApexChartCard(Action<TablerApexChartCard> config) #
Returns: TablerApexChartCard

Adds a richer dashboard card shell around an ApexCharts surface.

Parameters

config System.Action{HtmlForgeX.TablerApexChartCard} requiredposition: 0
public TablerAuditLogCard AuditLogCard(Action<TablerAuditLogCard> config) #
Returns: TablerAuditLogCard

Adds a reporting-oriented audit log card with summary metrics and a DataTables surface.

Parameters

config System.Action{HtmlForgeX.TablerAuditLogCard} requiredposition: 0
Avatar 2 overloads
public TablerAvatar Avatar(Action<TablerAvatar> config) #
Returns: TablerAvatar

Adds and configures a Tabler avatar.

Parameters

config System.Action{HtmlForgeX.TablerAvatar} requiredposition: 0
Configuration action.

Returns

The created avatar.

public TablerAvatar Avatar() #
Returns: TablerAvatar

Adds a simple TablerAvatar element.

Returns

The created avatar element.

public TablerAvatarGroup AvatarGroup(Action<TablerAvatarGroup> config) #
Returns: TablerAvatarGroup

Adds an avatar group container.

Parameters

config System.Action{HtmlForgeX.TablerAvatarGroup} requiredposition: 0
Badge 3 overloads
public TablerBadge Badge(String text, Action<TablerBadge> config = null) #
Returns: TablerBadge

Adds a Tabler badge.

Parameters

text System.String requiredposition: 0
Badge text.
color HtmlForgeX.TablerBadgeColor = null optionalposition: 1
Badge color.

Returns

The created badge.

Badge(System.String text, System.Action{HtmlForgeX.TablerBadge} config) #

Adds a Tabler badge element with fluent configuration.

Parameters

text System.String required
config System.Action{HtmlForgeX.TablerBadge} required
public TablerBadge Badge(String text, TablerBadgeColor color, TablerBadgeVisualStyle style, TablerBadgeSize size, Boolean pill = true, String href = null) #
Returns: TablerBadge

Adds a Tabler badge with common options set.

Parameters

text System.String requiredposition: 0
color HtmlForgeX.TablerBadgeColor requiredposition: 1
style HtmlForgeX.TablerBadgeVisualStyle requiredposition: 2
size HtmlForgeX.TablerBadgeSize requiredposition: 3
pill System.Boolean = true optionalposition: 4
href System.String = null optionalposition: 5
public TablerBadgeSpan BadgeSpan(String text, TablerColor color = Blue) #
Returns: TablerBadgeSpan

Adds a Tabler badge span.

Parameters

text System.String requiredposition: 0
Badge text.
color HtmlForgeX.TablerColor = Blue optionalposition: 1
Badge color.

Returns

The created badge span.

public TablerBadgeStatus BadgeStatus(String text, TablerColor color) #
Returns: TablerBadgeStatus

Adds a Tabler badge status.

Parameters

text System.String requiredposition: 0
Badge text.
color HtmlForgeX.TablerColor requiredposition: 1
Badge color.

Returns

The created badge.

public TablerBreakdownCard BreakdownCard(Action<TablerBreakdownCard> config) #
Returns: TablerBreakdownCard

Adds a ranked breakdown card with summary chips and a horizontal comparison chart.

Parameters

config System.Action{HtmlForgeX.TablerBreakdownCard} requiredposition: 0
Button 2 overloads
public TablerButton Button(String text, TablerButtonVariant variant = Primary) #
Returns: TablerButton

Adds a Tabler button with fluent configuration.

Parameters

text System.String requiredposition: 0
Button text.
config System.Action{HtmlForgeX.TablerButton} = Primary optionalposition: 1
Configuration action.

Returns

The created button.

Button(System.String text, HtmlForgeX.TablerButtonVariant variant) #

Adds a Tabler button.

Parameters

text System.String required
Button text.
variant HtmlForgeX.TablerButtonVariant required
Button variant.

Returns

The created button.

public TablerCalendarWorkspaceCard CalendarWorkspaceCard(Action<TablerCalendarWorkspaceCard> config) #
Returns: TablerCalendarWorkspaceCard

Adds and configures a FullCalendar workspace card.

Parameters

config System.Action{HtmlForgeX.TablerCalendarWorkspaceCard} requiredposition: 0
Card 2 overloads
public TablerCard Card(Action<TablerCard> config) #
Returns: TablerCard

Adds and configures a TablerCard.

Parameters

config System.Action{HtmlForgeX.TablerCard} requiredposition: 0
Configuration action.

Returns

The created card element.

public TablerCard Card(Int32 count, Action<TablerCard> config) #
Returns: TablerCard

Adds and configures a TablerCard with a preset count.

Parameters

count System.Int32 requiredposition: 0
Initial counter value.
config System.Action{HtmlForgeX.TablerCard} requiredposition: 1
Configuration action.

Returns

The created card element.

CardBasic 2 overloads
public TablerCardBasic CardBasic() #
Returns: TablerCardBasic

Adds a basic tabler card.

Returns

The created card element.

public TablerCardBasic CardBasic(String title, String text) #
Returns: TablerCardBasic

Adds a basic card with title and text.

Parameters

title System.String requiredposition: 0
Card title.
text System.String requiredposition: 1
Card text.

Returns

The created card element.

public TablerCardMini CardMini() #
Returns: TablerCardMini

Adds a mini variant of TablerCard.

Returns

The created card element.

public TablerCategoryBarChartCard CategoryBarChartCard(Action<TablerCategoryBarChartCard> config) #
Returns: TablerCategoryBarChartCard

Adds a category-focused card with a vertical distributed bar chart and summary strip.

Parameters

config System.Action{HtmlForgeX.TablerCategoryBarChartCard} requiredposition: 0
public ChartJs ChartJs(Action<ChartJs> config) #
Returns: ChartJs

Adds a ChartJs>) element and applies the provided configuration.

Parameters

config System.Action{HtmlForgeX.ChartJs} requiredposition: 0
Action used to configure the chart.

Returns

The created chart element.

Column 2 overloads
public TablerColumn Column(Action<TablerColumn> config) #
Returns: TablerColumn

Adds and configures a TablerColumn element.

Parameters

config System.Action{HtmlForgeX.TablerColumn} requiredposition: 0
Configuration action.

Returns

The created column element.

public TablerColumn Column(TablerColumnNumber number, Action<TablerColumn> config) #
Returns: TablerColumn

Adds and configures a TablerColumn element with a specific width.

Parameters

number HtmlForgeX.TablerColumnNumber requiredposition: 0
Column width.
config System.Action{HtmlForgeX.TablerColumn} requiredposition: 1
Configuration action.

Returns

The created column element.

public TablerControlBar ControlBar(Action<TablerControlBar> config) #
Returns: TablerControlBar

Adds and configures a shared control bar for mixed fields, toggles, and actions.

Parameters

config System.Action{HtmlForgeX.TablerControlBar} requiredposition: 0
Configuration action.

Returns

The created control bar.

public TablerCookieBanner CookieBanner(Action<TablerCookieBanner> config) #
Returns: TablerCookieBanner

Adds and configures a TablerCookieBanner element.

Parameters

config System.Action{HtmlForgeX.TablerCookieBanner} requiredposition: 0
public TablerCountdown Countdown(Action<TablerCountdown> config = null) #
Returns: TablerCountdown

Adds and configures a countdown timer element.

Parameters

config System.Action{HtmlForgeX.TablerCountdown} = null optionalposition: 0
Optional configuration action.

Returns

The created TablerCountdown.

public TablerCountUp CountUp(Action<TablerCountUp> config) #
Returns: TablerCountUp

Adds an animated countup element.

Parameters

config System.Action{HtmlForgeX.TablerCountUp} requiredposition: 0
public TablerDataGrid DataGrid(Action<TablerDataGrid> config) #
Returns: TablerDataGrid

Adds and configures a TablerDataGrid element.

Parameters

config System.Action{HtmlForgeX.TablerDataGrid} requiredposition: 0
Configuration action.

Returns

The created data grid.

public TablerDataGridCard DataGridCard(Action<TablerDataGridCard> config) #
Returns: TablerDataGridCard

Adds a status-oriented data grid card with a richer card shell.

Parameters

config System.Action{HtmlForgeX.TablerDataGridCard} requiredposition: 0
public TablerDataTableCard DataTableCard(Action<TablerDataTableCard> config) #
Returns: TablerDataTableCard

Adds a review-oriented card shell around a DataTables surface.

Parameters

config System.Action{HtmlForgeX.TablerDataTableCard} requiredposition: 0
public VisNetwork DiagramNetwork(Action<VisNetwork> config) #
Returns: VisNetwork

Adds a VisNetwork element and applies the provided configuration.

Parameters

config System.Action{HtmlForgeX.VisNetwork} requiredposition: 0
Action used to configure the network diagram.

Returns

The created network element.

public TablerDistributionCard DistributionCard(Action<TablerDistributionCard> config) #
Returns: TablerDistributionCard

Adds a distribution-focused card with a donut chart and summary rail.

Parameters

config System.Action{HtmlForgeX.TablerDistributionCard} requiredposition: 0
public HtmlTag Div(Action<HtmlTag> config) #
Returns: HtmlTag

Adds a div element with configuration.

Parameters

config System.Action{HtmlForgeX.HtmlTag} requiredposition: 0
Configuration action.

Returns

The created div element.

Divider 2 overloads
public TablerDivider Divider(String text) #
Returns: TablerDivider

Adds a divider element with text.

Parameters

text System.String requiredposition: 0
Divider caption.

Returns

The created divider.

public TablerDivider Divider() #
Returns: TablerDivider

Adds a divider element without text.

Returns

The created divider.

public TablerEmptyState EmptyState(Action<TablerEmptyState> config) #
Returns: TablerEmptyState

Adds and configures a TablerEmptyState element.

Parameters

config System.Action{HtmlForgeX.TablerEmptyState} requiredposition: 0
public TablerEmptyStateCard EmptyStateCard(Action<TablerEmptyStateCard> config) #
Returns: TablerEmptyStateCard

Adds a richer empty-state card for no-results, no-data, or nothing-to-review surfaces.

Parameters

config System.Action{HtmlForgeX.TablerEmptyStateCard} requiredposition: 0
public FancyTree FancyTree(Action<FancyTree> config) #
Returns: FancyTree

Adds and configures a fancy tree widget.

Parameters

config System.Action{HtmlForgeX.FancyTree} requiredposition: 0
Configuration action.

Returns

The created tree element.

Flag 2 overloads
public TablerFlagIcon Flag(Country country) #
Returns: TablerFlagIcon

Adds a Tabler flag icon span (class="flag flag-country-xx").

Parameters

iso2 System.String requiredposition: 0
Flag(HtmlForgeX.Country country) #

Adds a Tabler flag icon using a Country enum value (ISO2).

Parameters

country HtmlForgeX.Country required
public TablerFlagList Flags(Action<TablerFlagList> config) #
Returns: TablerFlagList

Adds and configures a list/gallery of country flags without writing raw HTML/CSS.

Parameters

config System.Action{HtmlForgeX.TablerFlagList} requiredposition: 0
public TablerForm Form(Action<TablerForm> config) #
Returns: TablerForm

Adds and configures a TablerForm element.

Parameters

config System.Action{HtmlForgeX.TablerForm} requiredposition: 0
Configuration action.

Returns

The created form element.

public FullCalendar FullCalendar(Action<FullCalendar> config) #
Returns: FullCalendar

Adds and configures a FullCalendar component.

Parameters

config System.Action{HtmlForgeX.FullCalendar} requiredposition: 0
Configuration action.

Returns

The created calendar element.

public TablerGaugeCard GaugeCard(Action<TablerGaugeCard> config) #
Returns: TablerGaugeCard

Adds a dashboard-oriented gauge card with a built-in radial chart.

Parameters

config System.Action{HtmlForgeX.TablerGaugeCard} requiredposition: 0
public TablerGeoSummaryCard GeoSummaryCard(Action<TablerGeoSummaryCard> config) #
Returns: TablerGeoSummaryCard

Adds a geographic summary card that combines a map surface with summary metrics and regional highlights.

Parameters

config System.Action{HtmlForgeX.TablerGeoSummaryCard} requiredposition: 0
GetAuxiliaryChildren() #

Returns additional element references that should be treated like children for document propagation and library registration (e.g., internal fields not stored in Children). Default is empty.

public HeaderLevel H1(String text) #
Returns: HeaderLevel

Adds an H1 heading.

Parameters

text System.String requiredposition: 0
The heading text.

Returns

The HeaderLevel element.

public HeaderLevel H2(String text) #
Returns: HeaderLevel

Adds an H2 heading.

Parameters

text System.String requiredposition: 0
The heading text.

Returns

The HeaderLevel element.

public HeaderLevel H3(String text) #
Returns: HeaderLevel

Adds an H3 heading.

Parameters

text System.String requiredposition: 0
The heading text.

Returns

The HeaderLevel element.

public HeaderLevel H4(String text) #
Returns: HeaderLevel

Adds an H4 heading.

Parameters

text System.String requiredposition: 0
The heading text.

Returns

The HeaderLevel element.

public HeaderLevel H5(String text) #
Returns: HeaderLevel

Adds an H5 heading.

Parameters

text System.String requiredposition: 0
The heading text.

Returns

The HeaderLevel element.

public HeaderLevel H6(String text) #
Returns: HeaderLevel

Adds an H6 heading.

Parameters

text System.String requiredposition: 0
The heading text.

Returns

The HeaderLevel element.

public HeaderLevel HeaderLevel(HeaderLevelTag level, String text) #
Returns: HeaderLevel

Adds a header element of the specified level.

Parameters

level HtmlForgeX.HeaderLevelTag requiredposition: 0
Header level.
text System.String requiredposition: 1
Header text.

Returns

The created header element.

public TablerHeroCard HeroCard(Action<TablerHeroCard> config) #
Returns: TablerHeroCard

Adds a dashboard-oriented hero card with a richer visual treatment.

Parameters

config System.Action{HtmlForgeX.TablerHeroCard} requiredposition: 0
public TablerHighlightCard HighlightCard(Action<TablerHighlightCard> config) #
Returns: TablerHighlightCard

Adds a highlight card with an annotated visual stage.

Parameters

config System.Action{HtmlForgeX.TablerHighlightCard} requiredposition: 0
Icon 6 overloads
public TablerIconElement Icon(TablerIconType icon, Action<TablerIconElement> config) #
Returns: TablerIconElement

Adds a FontAwesome icon with a solid style.

Parameters

icon HtmlForgeX.FontAwesomeSolid requiredposition: 0
The solid icon to add.
config System.Action{HtmlForgeX.FontAwesomeIcon} = null requiredposition: 1
Optional configuration action.

Returns

The created icon element.

Icon(HtmlForgeX.FontAwesomeRegular icon, System.Action{HtmlForgeX.FontAwesomeIcon} config) #

Adds a FontAwesome icon with a regular style.

Parameters

icon HtmlForgeX.FontAwesomeRegular required
The regular icon to add.
config System.Action{HtmlForgeX.FontAwesomeIcon} required
Optional configuration action.

Returns

The created icon element.

Icon(HtmlForgeX.FontAwesomeBrands icon, System.Action{HtmlForgeX.FontAwesomeIcon} config) #

Adds a FontAwesome brand icon.

Parameters

icon HtmlForgeX.FontAwesomeBrands required
The brand icon to add.
config System.Action{HtmlForgeX.FontAwesomeIcon} required
Optional configuration action.

Returns

The created icon element.

public TablerIconElement Icon(TablerIconType icon) #
Returns: TablerIconElement

Adds a FontAwesome icon with configuration.

Parameters

config System.Action{HtmlForgeX.FontAwesomeIcon} requiredposition: 0
Configuration action for the icon.

Returns

The created icon element.

Icon(HtmlForgeX.TablerIconType icon) #

Adds a Tabler icon element.

Parameters

icon HtmlForgeX.TablerIconType required
Icon type.

Returns

The created icon element.

Icon(HtmlForgeX.TablerIconType icon, System.Action{HtmlForgeX.TablerIconElement} config) #

Adds and configures a Tabler icon element.

Parameters

icon HtmlForgeX.TablerIconType required
Icon type.
config System.Action{HtmlForgeX.TablerIconElement} required
Configuration action.

Returns

The created icon element.

IconFont 2 overloads
public TablerIconFont IconFont(TablerIconType icon) #
Returns: TablerIconFont

Adds a Tabler icon font.

Parameters

icon System.String requiredposition: 0
Icon name or type.

Returns

The created icon font.

IconFont(HtmlForgeX.TablerIconType icon) #

Adds a Tabler icon font.

Parameters

icon HtmlForgeX.TablerIconType required
Icon type.

Returns

The created icon font.

public TablerIncidentTimelineCard IncidentTimelineCard(Action<TablerIncidentTimelineCard> config) #
Returns: TablerIncidentTimelineCard

Adds an incident review card built around a timeline with summary counters.

Parameters

config System.Action{HtmlForgeX.TablerIncidentTimelineCard} requiredposition: 0
public TablerInsightSummaryCard InsightSummaryCard(Action<TablerInsightSummaryCard> config) #
Returns: TablerInsightSummaryCard

Adds an insight summary card with hero copy and compact highlight tiles.

Parameters

config System.Action{HtmlForgeX.TablerInsightSummaryCard} requiredposition: 0
public TablerLightboxGallery LightboxGallery(Action<TablerLightboxGallery> config) #
Returns: TablerLightboxGallery

Adds and configures a TablerLightboxGallery element.

Parameters

config System.Action{HtmlForgeX.TablerLightboxGallery} requiredposition: 0
public LineBreak LineBreak() #
Returns: LineBreak

Adds a line break element.

Returns

The created line break.

public TablerLineComparisonCard LineComparisonCard(Action<TablerLineComparisonCard> config) #
Returns: TablerLineComparisonCard

Adds a comparison-focused card with a multi-series line chart and summary strip.

Parameters

config System.Action{HtmlForgeX.TablerLineComparisonCard} requiredposition: 0
public TablerButton LinkButton(String text, String href, TablerButtonVariant variant = Primary) #
Returns: TablerButton

Adds a Tabler link button.

Parameters

text System.String requiredposition: 0
Button text.
href System.String requiredposition: 1
Link URL.
variant HtmlForgeX.TablerButtonVariant = Primary optionalposition: 2
Button variant.

Returns

The created button.

public TablerListCard ListCard(Action<TablerListCard> config) #
Returns: TablerListCard

Adds a compact list card for findings, notes, or short checklists.

Parameters

config System.Action{HtmlForgeX.TablerListCard} requiredposition: 0
public TablerListGroup ListGroup(Action<TablerListGroup> config) #
Returns: TablerListGroup

Adds and configures a TablerListGroup element.

Parameters

config System.Action{HtmlForgeX.TablerListGroup} requiredposition: 0
Logs 6 overloads
public TablerLogs Logs(List<String> code, TablerLogsTheme theme = Dark, String backgroundClass = null, String textClass = null) #
Returns: TablerLogs

Adds a log viewer with source code as a single string.

Parameters

code System.String requiredposition: 0
Code to display.
theme HtmlForgeX.TablerLogsTheme = Dark optionalposition: 1
Color theme.
backgroundClass System.String = null optionalposition: 2
Optional custom background class.
textClass System.String = null optionalposition: 3
Optional custom text class.

Returns

The created log element.

Logs(System.String[] code, HtmlForgeX.TablerLogsTheme theme, System.String backgroundClass, System.String textClass) #

Adds a log viewer from an array of strings.

Parameters

code System.String[] required
theme HtmlForgeX.TablerLogsTheme required
backgroundClass System.String required
textClass System.String required
Logs(System.Collections.Generic.List{System.String} code, HtmlForgeX.TablerLogsTheme theme, System.String backgroundClass, System.String textClass) #

Adds a log viewer from a list of strings.

Parameters

code System.Collections.Generic.List{System.String} required
theme HtmlForgeX.TablerLogsTheme required
backgroundClass System.String required
textClass System.String required
public TablerLogs Logs(List<String> code, RGBColor backgroundColor, RGBColor textColor) #
Returns: TablerLogs

Adds a log viewer with custom colors.

Parameters

code System.String requiredposition: 0
backgroundColor HtmlForgeX.RGBColor requiredposition: 1
textColor HtmlForgeX.RGBColor requiredposition: 2
Logs(System.String[] code, HtmlForgeX.RGBColor backgroundColor, HtmlForgeX.RGBColor textColor) #

Adds a log viewer from an array of strings with custom colors.

Parameters

code System.String[] required
backgroundColor HtmlForgeX.RGBColor required
textColor HtmlForgeX.RGBColor required
Logs(System.Collections.Generic.List{System.String} code, HtmlForgeX.RGBColor backgroundColor, HtmlForgeX.RGBColor textColor) #

Adds a log viewer from a list of strings with custom colors.

Parameters

code System.Collections.Generic.List{System.String} required
backgroundColor HtmlForgeX.RGBColor required
textColor HtmlForgeX.RGBColor required
public TablerMapSummaryCard MapSummaryCard(Action<TablerMapSummaryCard> config) #
Returns: TablerMapSummaryCard

Adds a vector-map summary card with supporting metrics.

Parameters

config System.Action{HtmlForgeX.TablerMapSummaryCard} requiredposition: 0
public TablerMetricCard MetricCard(Action<TablerMetricCard> config) #
Returns: TablerMetricCard

Adds a dashboard-oriented metric card with optional inline chart or progress.

Parameters

config System.Action{HtmlForgeX.TablerMetricCard} requiredposition: 0
public TablerModal Modal(Action<TablerModal> config) #
Returns: TablerModal

Adds and configures a TablerModal component.

Parameters

config System.Action{HtmlForgeX.TablerModal} requiredposition: 0
Configuration action.

Returns

The created modal.

public TablerNarrativeCard NarrativeCard(Action<TablerNarrativeCard> config) #
Returns: TablerNarrativeCard

Adds a compact narrative card for short tab summaries or operator context.

Parameters

config System.Action{HtmlForgeX.TablerNarrativeCard} requiredposition: 0
public TablerNarrativeSummaryCard NarrativeSummaryCard(Action<TablerNarrativeSummaryCard> config) #
Returns: TablerNarrativeSummaryCard

Adds a narrative summary card with editorial copy, a compact metric rail, and supporting insights.

Parameters

config System.Action{HtmlForgeX.TablerNarrativeSummaryCard} requiredposition: 0
OnAddedToDocument() #

Called when this element is added to a document. Override this method to apply document-specific configuration.

public TablerPageHeader PageHeader(Action<TablerPageHeader> config) #
Returns: TablerPageHeader

Adds a page header element with configuration.

Parameters

config System.Action{HtmlForgeX.TablerPageHeader} requiredposition: 0
Configuration action.

Returns

The created page header element.

public TablerPeopleReviewCard PeopleReviewCard(Action<TablerPeopleReviewCard> config) #
Returns: TablerPeopleReviewCard

Adds a people review card with alignment context and decision queue content.

Parameters

config System.Action{HtmlForgeX.TablerPeopleReviewCard} requiredposition: 0
public TablerPlaceholder Placeholder(Action<TablerPlaceholder> config) #
Returns: TablerPlaceholder

Adds and configures a TablerPlaceholder element.

Parameters

config System.Action{HtmlForgeX.TablerPlaceholder} requiredposition: 0
public TablerPlaceholderCard PlaceholderCard(Action<TablerPlaceholderCard> config) #
Returns: TablerPlaceholderCard

Adds a richer skeleton-loading card with image, avatar, lines, and list-row affordances.

Parameters

config System.Action{HtmlForgeX.TablerPlaceholderCard} requiredposition: 0
public TablerPlaceholderContainer Placeholders(Action<TablerPlaceholderContainer> config) #
Returns: TablerPlaceholderContainer

Adds and configures a TablerPlaceholderContainer element.

Parameters

config System.Action{HtmlForgeX.TablerPlaceholderContainer} requiredposition: 0
public TablerPresenceListCard PresenceListCard(Action<TablerPresenceListCard> config) #
Returns: TablerPresenceListCard

Adds a presence list card built around avatars and status badges.

Parameters

config System.Action{HtmlForgeX.TablerPresenceListCard} requiredposition: 0
ProgressBar 4 overloads
public TablerProgressBar ProgressBar() #
Returns: TablerProgressBar

Adds a Tabler progress bar.

Returns

The created progress bar.

public TablerProgressBar ProgressBar(TablerProgressBarType type) #
Returns: TablerProgressBar

Adds and configures a Tabler progress bar.

Parameters

config System.Action{HtmlForgeX.TablerProgressBar} requiredposition: 0
Configuration action.

Returns

The created progress bar.

ProgressBar(HtmlForgeX.TablerProgressBarType type) #

Adds a progress bar of a given type.

Parameters

type HtmlForgeX.TablerProgressBarType required
Progress bar type.

Returns

The created progress bar.

public TablerProgressBar ProgressBar(TablerProgressBarType type, Int32 percentage, Nullable<TablerColor> tablerBackground = null) #
Returns: TablerProgressBar

Adds a progress bar prepopulated with a value.

Parameters

type HtmlForgeX.TablerProgressBarType requiredposition: 0
Progress bar type.
percentage System.Int32 requiredposition: 1
Initial percentage value.
tablerBackground System.Nullable{HtmlForgeX.TablerColor} = null optionalposition: 2
Optional background color.

Returns

The created progress bar.

public TablerProgressListCard ProgressListCard(Action<TablerProgressListCard> config) #
Returns: TablerProgressListCard

Adds a richer dashboard card shell around ranked progress items.

Parameters

config System.Action{HtmlForgeX.TablerProgressListCard} requiredposition: 0
PropagateDocumentToChildren() #

Recursively sets the document reference for all child elements.

public EasyQRCodeElement QRCode(String text) #
Returns: EasyQRCodeElement

Adds a QR code element with specified text.

Parameters

text System.String requiredposition: 0
Text to encode.

Returns

The created QR code element.

public QuillEditor QuillEditor(Action<QuillEditor> config = null) #
Returns: QuillEditor

Adds a Quill editor component.

Parameters

config System.Action{HtmlForgeX.QuillEditor} = null optionalposition: 0
Optional configuration.

Returns

The created editor element.

RegisterLibraries() #

Registers required libraries for this element. Override in derived classes to register specific libraries.

public TablerReviewListCard ReviewListCard(Action<TablerReviewListCard> config) #
Returns: TablerReviewListCard

Adds a review list card with a compact metric rail and ranked note entries.

Parameters

config System.Action{HtmlForgeX.TablerReviewListCard} requiredposition: 0
Row 2 overloads
public TablerRow Row() #
Returns: TablerRow

Adds a Tabler row.

Returns

The created row.

public TablerRow Row(Action<TablerRow> config) #
Returns: TablerRow

Adds and configures a TablerRow element.

Parameters

config System.Action{HtmlForgeX.TablerRow} requiredposition: 0
Configuration action.

Returns

The created row element.

public TablerScheduleSummaryCard ScheduleSummaryCard(Action<TablerScheduleSummaryCard> config) #
Returns: TablerScheduleSummaryCard

Adds and configures a compact scheduling summary card.

Parameters

config System.Action{HtmlForgeX.TablerScheduleSummaryCard} requiredposition: 0
public ScrollingText ScrollingText(Action<ScrollingText> config) #
Returns: ScrollingText

Adds a scrolling text component.

Parameters

config System.Action{HtmlForgeX.ScrollingText} requiredposition: 0
Configuration action.

Returns

The created component.

public TablerScrollSpy ScrollSpy(Action<TablerScrollSpy> config) #
Returns: TablerScrollSpy

Adds and configures a ScrollSpy container (vertical nav + scrollable content).

Parameters

config System.Action{HtmlForgeX.TablerScrollSpy} requiredposition: 0
public SmartTab SmartTab(Action<SmartTab> config) #
Returns: SmartTab

Adds and configures a SmartTab component.

Parameters

config System.Action{HtmlForgeX.SmartTab} requiredposition: 0
Configuration action.

Returns

The created SmartTab.

public SmartWizard SmartWizard(Action<SmartWizard> config) #
Returns: SmartWizard

Adds and configures a SmartWizard component.

Parameters

config System.Action{HtmlForgeX.SmartWizard} requiredposition: 0
Configuration action.

Returns

The created SmartWizard.

public TablerSocialTileCard SocialTileCard(Action<TablerSocialTileCard> config) #
Returns: TablerSocialTileCard

Adds a social-style stat tile with optional animated numeric value.

Parameters

config System.Action{HtmlForgeX.TablerSocialTileCard} requiredposition: 0
public Span Span(String content = "") #
Returns: Span

Adds the span.

Parameters

content System.String = "" optionalposition: 0
The content.
public TablerSparkline Sparkline(Action<TablerSparkline> config) #
Returns: TablerSparkline

Adds and configures a compact inline sparkline.

Parameters

config System.Action{HtmlForgeX.TablerSparkline} requiredposition: 0
Spinner 2 overloads
public TablerSpinner Spinner() #
Returns: TablerSpinner

Adds a TablerSpinner element.

public TablerSpinner Spinner(Action<TablerSpinner> config) #
Returns: TablerSpinner

Adds and configures a TablerSpinner element.

Parameters

config System.Action{HtmlForgeX.TablerSpinner} requiredposition: 0
public TablerStatTileCard StatTileCard(Action<TablerStatTileCard> config) #
Returns: TablerStatTileCard

Adds a compact but richer stat tile card.

Parameters

config System.Action{HtmlForgeX.TablerStatTileCard} requiredposition: 0
public TablerStatusIndicator StatusIndicator(Action<TablerStatusIndicator> config) #
Returns: TablerStatusIndicator

Adds a three-dot Tabler status indicator.

Parameters

config System.Action{HtmlForgeX.TablerStatusIndicator} requiredposition: 0
public TablerStatusStrip StatusStrip(Action<TablerStatusStrip> config) #
Returns: TablerStatusStrip

Adds a compact status strip with several summary signals.

Parameters

config System.Action{HtmlForgeX.TablerStatusStrip} requiredposition: 0
public TablerSteps Steps() #
Returns: TablerSteps

Adds a steps component.

public TablerSummaryStrip SummaryStrip(Action<TablerSummaryStrip> config) #
Returns: TablerSummaryStrip

Adds a compact summary strip made of reusable metric chips.

Parameters

config System.Action{HtmlForgeX.TablerSummaryStrip} requiredposition: 0
Table 2 overloads
public Table Table(Object objects, TableType tableType) #
Returns: Table

Creates a table from a collection of objects.

Parameters

objects System.Collections.Generic.IEnumerable{System.Object} requiredposition: 0
Data source.
tableType HtmlForgeX.TableType requiredposition: 1
Table library type.

Returns

The created table element.

Table(System.Object objects, HtmlForgeX.TableType tableType) #

Creates a table from a single object instance.

Parameters

objects System.Object required
Object containing data.
tableType HtmlForgeX.TableType required
Table library type.

Returns

The created table element.

public TablerInput TablerInput(String name, Action<TablerInput> config = null) #
Returns: TablerInput

Adds a TablerInput form element.

Parameters

name System.String requiredposition: 0
Input name and identifier.
config System.Action{HtmlForgeX.TablerInput} = null optionalposition: 1
Optional configuration action.

Returns

The created TablerInput.

public UnorderedList TablerList() #
Returns: UnorderedList

Adds an unordered list styled with Tabler classes.

public TablerProgressBar TablerProgress(Action<TablerProgressBar> config) #
Returns: TablerProgressBar

Adds a TablerProgress element with configuration.

Parameters

config System.Action{HtmlForgeX.TablerProgressBar} requiredposition: 0
Configuration action.

Returns

The created progress element.

public TablerSelect TablerSelect(String name, Action<TablerSelect> config = null) #
Returns: TablerSelect

Adds a TablerSelect form element.

Parameters

name System.String requiredposition: 0
Select name and identifier.
config System.Action{HtmlForgeX.TablerSelect} = null optionalposition: 1
Optional configuration action.

Returns

The created TablerSelect.

public TablerSteps TablerSteps(Action<TablerSteps> config) #
Returns: TablerSteps

Adds a TablerSteps element with configuration.

Parameters

config System.Action{HtmlForgeX.TablerSteps} requiredposition: 0
Configuration action.

Returns

The created steps element.

public TablerTextarea TablerTextarea(String name, Action<TablerTextarea> config = null) #
Returns: TablerTextarea

Adds a TablerTextarea form element.

Parameters

name System.String requiredposition: 0
Textarea name and identifier.
config System.Action{HtmlForgeX.TablerTextarea} = null optionalposition: 1
Optional configuration action.

Returns

The created TablerTextarea.

public TablerTableSummaryCard TableSummaryCard(Action<TablerTableSummaryCard> config) #
Returns: TablerTableSummaryCard

Adds a table summary card with summary metrics, an optional highlight message, and a DataTables surface.

Parameters

config System.Action{HtmlForgeX.TablerTableSummaryCard} requiredposition: 0
public TablerTabs Tabs(Action<TablerTabs> config) #
Returns: TablerTabs

Adds and configures tab navigation.

Parameters

config System.Action{HtmlForgeX.TablerTabs} requiredposition: 0
public TablerTag Tag(String text) #
Returns: TablerTag

Adds a Tabler tag.

Parameters

text System.String requiredposition: 0
Tag text.

Returns

The created tag.

public TablerTags Tags(Action<TablerTags> config) #
Returns: TablerTags

Adds and configures a container of tag chips.

Parameters

config System.Action{HtmlForgeX.TablerTags} requiredposition: 0
Configuration action.

Returns

The created tags container.

public TablerTaskList Tasks(Action<TablerTaskList> config) #
Returns: TablerTaskList

Adds and configures a Tabler task list (checklist).

Parameters

config System.Action{HtmlForgeX.TablerTaskList} requiredposition: 0
Configuration action.

Returns

The created task list.

Text 3 overloads
public Span Text(String content, RGBColor color = null, String fontSize = null) #
Returns: Span

Adds a simple text span with optional color and size.

Parameters

content System.String requiredposition: 0
The text content.
color HtmlForgeX.RGBColor = null optionalposition: 1
Optional text color.
fontSize System.String = null optionalposition: 2
Optional font size.
public TablerText Text(String text) #
Returns: TablerText

Adds a text element with initial value.

Parameters

text System.String requiredposition: 0
Initial text.

Returns

The created text element.

public TablerText Text() #
Returns: TablerText

Adds an empty text element.

Returns

The created text element.

public TablerTimeline Timeline(Action<TablerTimeline> config) #
Returns: TablerTimeline

Adds and configures a timeline component.

Parameters

config System.Action{HtmlForgeX.TablerTimeline} requiredposition: 0
public TablerTimelineSummaryCard TimelineSummaryCard(Action<TablerTimelineSummaryCard> config) #
Returns: TablerTimelineSummaryCard

Adds a timeline summary card with a summary strip, optional callout, and scrollable timeline surface.

Parameters

config System.Action{HtmlForgeX.TablerTimelineSummaryCard} requiredposition: 0
Toast 2 overloads
public TablerToast Toast(String title, String message, TablerToastType type = Default) #
Returns: TablerToast

Adds a toast notification with preset text.

Parameters

title System.String requiredposition: 0
message System.String requiredposition: 1
type HtmlForgeX.TablerToastType = Default optionalposition: 2
public TablerToast Toast(Action<TablerToast> config) #
Returns: TablerToast

Adds and configures a toast notification.

Parameters

config System.Action{HtmlForgeX.TablerToast} requiredposition: 0
public abstract String ToString() #
Returns: String

Returns a string representation of the element.

Returns

HTML output for this element.

public TablerTracking Tracking() #
Returns: TablerTracking

Adds an invisible tracking pixel component.

public TablerTrackingSummaryCard TrackingSummaryCard(Action<TablerTrackingSummaryCard> config) #
Returns: TablerTrackingSummaryCard

Adds a tracking summary card with a headline metric and Tabler tracking blocks.

Parameters

config System.Action{HtmlForgeX.TablerTrackingSummaryCard} requiredposition: 0
public TablerVectorMapCard VectorMapCard(Action<TablerVectorMapCard> config) #
Returns: TablerVectorMapCard

Adds a richer dashboard card shell around a jsVectorMap surface.

Parameters

config System.Action{HtmlForgeX.TablerVectorMapCard} requiredposition: 0
public TablerWorkflowStepsCard WorkflowStepsCard(Action<TablerWorkflowStepsCard> config) #
Returns: TablerWorkflowStepsCard

Adds a workflow steps card driven by typed steps and compact supporting signals.

Parameters

config System.Action{HtmlForgeX.TablerWorkflowStepsCard} requiredposition: 0
public TablerWorkflowSummaryCard WorkflowSummaryCard(Action<TablerWorkflowSummaryCard> config) #
Returns: TablerWorkflowSummaryCard

Adds a workflow summary card with rollout metrics, timeline, and checklist content.

Parameters

config System.Action{HtmlForgeX.TablerWorkflowSummaryCard} requiredposition: 0
public TablerWorkspaceTabsCard WorkspaceTabsCard(Action<TablerWorkspaceTabsCard> config) #
Returns: TablerWorkspaceTabsCard

Adds a card wrapper around a segmented tab workspace.

Parameters

config System.Action{HtmlForgeX.TablerWorkspaceTabsCard} requiredposition: 0

Properties

public List<Element> Children { get; } #

Collection of child elements contained within this element.

public Document Document { get; set; } #

Gets or sets the parent document reference. Used internally for library registration. The value may remain null until this element is attached to a parent that has a document reference.

Extension Methods

public static Element Blockquote(Element parent, Action<InlineText> build) #
Returns: Element

Appends a blockquote with inline runs built via InlineText.

Parameters

parent HtmlForgeX.Element requiredposition: 0
build System.Action{HtmlForgeX.InlineText} requiredposition: 1
DataTable 4 overloads
public static DataTablesTable DataTable(Element element, IEnumerable<Object> objects, Action<DataTablesTable> configure) #
Returns: DataTablesTable

Creates a DataTables table with the specified data and configures it using the provided action.

Parameters

element HtmlForgeX.Element requiredposition: 0
objects System.Collections.Generic.IEnumerable{System.Object} requiredposition: 1
configure System.Action{HtmlForgeX.DataTablesTable} requiredposition: 2
public static DataTablesTable DataTable(Element element, Object objects, Action<DataTablesTable> configure) #
Returns: DataTablesTable

Creates a DataTables table with the specified data and configures it using the provided action.

Parameters

element HtmlForgeX.Element requiredposition: 0
objects System.Collections.Generic.IEnumerable{System.Object} requiredposition: 1
configure System.Action{HtmlForgeX.DataTablesTable} requiredposition: 2
public static DataTablesTable DataTable(Element element, IEnumerable<Object> objects) #
Returns: DataTablesTable

Creates a DataTables table with default settings and returns it for further chaining.

Parameters

element HtmlForgeX.Element requiredposition: 0
objects System.Collections.Generic.IEnumerable{System.Object} requiredposition: 1
public static DataTablesTable DataTable(Element element, Object objects) #
Returns: DataTablesTable

Creates a DataTables table with default settings and returns it for further chaining.

Parameters

element HtmlForgeX.Element requiredposition: 0
objects System.Collections.Generic.IEnumerable{System.Object} requiredposition: 1
public static Element H(Element parent, HeaderLevelTag level, Action<InlineText> build) #
Returns: Element

Appends a heading element (<h1>..<h6>) built using InlineText runs.

Parameters

parent HtmlForgeX.Element requiredposition: 0
Parent element to receive the heading.
level HtmlForgeX.HeaderLevelTag requiredposition: 1
Heading level (H1..H6).
build System.Action{HtmlForgeX.InlineText} requiredposition: 2
Builder that appends inline runs to the heading.

Returns

The parent element for chaining.

public static Element H1(Element parent, Action<InlineText> b) #
Returns: Element

Adds an H1 heading using InlineText.

Parameters

parent HtmlForgeX.Element requiredposition: 0
b System.Action{HtmlForgeX.InlineText} requiredposition: 1
public static Element H2(Element parent, Action<InlineText> b) #
Returns: Element

Adds an H2 heading using InlineText.

Parameters

parent HtmlForgeX.Element requiredposition: 0
b System.Action{HtmlForgeX.InlineText} requiredposition: 1
public static Element H3(Element parent, Action<InlineText> b) #
Returns: Element

Adds an H3 heading using InlineText.

Parameters

parent HtmlForgeX.Element requiredposition: 0
b System.Action{HtmlForgeX.InlineText} requiredposition: 1
public static Element H4(Element parent, Action<InlineText> b) #
Returns: Element

Adds an H4 heading using InlineText.

Parameters

parent HtmlForgeX.Element requiredposition: 0
b System.Action{HtmlForgeX.InlineText} requiredposition: 1
public static Element H5(Element parent, Action<InlineText> b) #
Returns: Element

Adds an H5 heading using InlineText.

Parameters

parent HtmlForgeX.Element requiredposition: 0
b System.Action{HtmlForgeX.InlineText} requiredposition: 1
public static Element H6(Element parent, Action<InlineText> b) #
Returns: Element

Adds an H6 heading using InlineText.

Parameters

parent HtmlForgeX.Element requiredposition: 0
b System.Action{HtmlForgeX.InlineText} requiredposition: 1
public static Element Markdown(Element element, String markdown, MarkdownOptions options = null) #
Returns: Element

Renders Markdown content and adds it to the element.

Parameters

element HtmlForgeX.Element requiredposition: 0
The element to add Markdown content to.
markdown System.String requiredposition: 1
The Markdown text to render.
options HtmlForgeX.Markdown.MarkdownOptions = null optionalposition: 2
Optional configuration for Markdown rendering.

Returns

The element for method chaining.

Pagination 2 overloads
public static TablerPagination Pagination(Element element, Action<TablerPagination> configure) #
Returns: TablerPagination

Adds a Tabler pagination to the element with fluent configuration

Parameters

element HtmlForgeX.Element requiredposition: 0
configure System.Action{HtmlForgeX.TablerPagination} requiredposition: 1
public static TablerPagination Pagination(Element element) #
Returns: TablerPagination

Adds a Tabler pagination to the element

Parameters

element HtmlForgeX.Element requiredposition: 0
Paragraph 2 overloads
public static Element Paragraph(Element parent, Action<InlineText> build) #
Returns: Element

Appends a paragraph (<p>) built via InlineText.

Parameters

parent HtmlForgeX.Element requiredposition: 0
build System.Action{HtmlForgeX.InlineText} requiredposition: 1
public static Element Paragraph(Element parent, Action<InlineText> build, ParagraphStyle style) #
Returns: Element

Appends a paragraph with an optional style (e.g., Lead).

Parameters

parent HtmlForgeX.Element requiredposition: 0
build System.Action{HtmlForgeX.InlineText} requiredposition: 1
style HtmlForgeX.ParagraphStyle requiredposition: 2
public static Element Quote(Element parent, Action<InlineText> quote, Action<InlineText> cite = null) #
Returns: Element

Appends a figure containing a blockquote and optional figcaption, both built via InlineText.

Parameters

parent HtmlForgeX.Element requiredposition: 0
quote System.Action{HtmlForgeX.InlineText} requiredposition: 1
cite System.Action{HtmlForgeX.InlineText} = null optionalposition: 2
public static SmartTab SmartTab(Element element, Action<SmartTab> configure = null) #
Returns: SmartTab

Adds a SmartTab component to the element.

Parameters

element HtmlForgeX.Element requiredposition: 0
The element to add the SmartTab to.
configure System.Action{HtmlForgeX.SmartTab} = null optionalposition: 1
Configuration action for the SmartTab.

Returns

The SmartTab instance for further configuration.

public static SmartWizard SmartWizard(Element element, Action<SmartWizard> configure = null) #
Returns: SmartWizard

Adds a SmartWizard component to the element.

Parameters

element HtmlForgeX.Element requiredposition: 0
The element to add the SmartWizard to.
configure System.Action{HtmlForgeX.SmartWizard} = null optionalposition: 1
Configuration action for the SmartWizard.

Returns

The SmartWizard instance for further configuration.

Table 2 overloads
public static Table Table(Element element, IEnumerable<Object> objects, TableType tableType, Action<Table> configure) #
Returns: Table

Creates a table with the specified data and configures it using the provided action.

Parameters

element HtmlForgeX.Element requiredposition: 0
The element to add the table to.
objects System.Collections.Generic.IEnumerable{System.Object} requiredposition: 1
The data objects to display in the table.
tableType HtmlForgeX.TableType requiredposition: 2
Table library type.
configure System.Action{HtmlForgeX.Table} requiredposition: 3
Action to configure the table.

Returns

The created and configured table element.

public static Table Table(Element element, Object objects, TableType tableType, Action<Table> configure) #
Returns: Table

Creates a table with the specified data and configures it using the provided action.

Parameters

element HtmlForgeX.Element requiredposition: 0
The element to add the table to.
objects System.Collections.Generic.IEnumerable{System.Object} requiredposition: 1
The data objects to display in the table.
tableType HtmlForgeX.TableType requiredposition: 2
Table library type.
configure System.Action{HtmlForgeX.Table} requiredposition: 3
Action to configure the table.

Returns

The created and configured table element.

Text 2 overloads
public static Element Text(Element parent, Action<InlineText> build) #
Returns: Element

Appends a paragraph (<p>) that contains runs built via InlineText. Prefer this for paragraph text to keep semantics clear.

Parameters

parent HtmlForgeX.Element requiredposition: 0
Parent element.
build System.Action{HtmlForgeX.InlineText} requiredposition: 1
InlineText builder for the paragraph’s inline runs.

Returns

The parent element for chaining.

public static Element Text(Element parent, HeaderLevelTag heading, Action<InlineText> build) #
Returns: Element

Appends a heading (<h1>..<h6>) that contains runs built via InlineText.

Parameters

parent HtmlForgeX.Element requiredposition: 0
Parent element.
heading HtmlForgeX.HeaderLevelTag requiredposition: 1
Heading level.
build System.Action{HtmlForgeX.InlineText} requiredposition: 2
InlineText builder for the heading’s inline runs.

Returns

The parent element for chaining.

public static Element TextInline(Element parent, Action<InlineText> build) #
Returns: Element

Appends a span (<span>) that contains runs built via InlineText.Text/Run/Underline etc. Use this when you need inline content (no paragraph/heading wrapper), e.g., inside titles or any container where a block element would be invalid.

Parameters

parent HtmlForgeX.Element requiredposition: 0
Parent element to receive the span.
build System.Action{HtmlForgeX.InlineText} requiredposition: 1
InlineText builder for the span’s content.

Returns

The parent element for chaining.