API Reference
Element
Base class for all HTML elements in HtmlForgeX.
Inheritance
- Object
- Element
Methods
public TablerAccordion Accordion(Action<TablerAccordion> config) #TablerAccordionAdds and configures an accordion component.
Parameters
- config System.Action{HtmlForgeX.TablerAccordion}
public TablerActionsAndNotesCard ActionsAndNotesCard(Action<TablerActionsAndNotesCard> config) #TablerActionsAndNotesCardAdds an actions-and-notes card with primary actions and supporting notes.
Parameters
- config System.Action{HtmlForgeX.TablerActionsAndNotesCard}
public TablerActionSummaryCard ActionSummaryCard(Action<TablerActionSummaryCard> config) #TablerActionSummaryCardAdds an action summary card with a compact metric rail, focus callout, actions, and supporting notes.
Parameters
- config System.Action{HtmlForgeX.TablerActionSummaryCard}
public TablerActivityFeedCard ActivityFeedCard(Action<TablerActivityFeedCard> config) #TablerActivityFeedCardAdds an activity feed card with a compact metric rail and ranked entries.
Parameters
- config System.Action{HtmlForgeX.TablerActivityFeedCard}
public virtual Element Add(Element element) #ElementAdds 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
- The element to add.
Returns
This element for method chaining.
public TablerAlert Alert(String title, String message, TablerColor alertColor = Default, TablerAlertType alertType = Regular) #TablerAlertAdds an alert element.
Parameters
- title System.String
- message System.String
- alertColor HtmlForgeX.TablerColor = Default
- alertType HtmlForgeX.TablerAlertType = Regular
public TablerAnalyticsSummaryCard AnalyticsSummaryCard(Action<TablerAnalyticsSummaryCard> config) #TablerAnalyticsSummaryCardAdds an analytics summary card with a larger chart surface and compact follow-up insight cards.
Parameters
- config System.Action{HtmlForgeX.TablerAnalyticsSummaryCard}
public ApexCharts ApexChart(Action<ApexCharts> config) #ApexChartsAdds an ApexCharts element and applies the provided configuration.
Parameters
- config System.Action{HtmlForgeX.ApexCharts}
- Action used to configure the chart.
Returns
The created chart element.
public TablerApexChartCard ApexChartCard(Action<TablerApexChartCard> config) #TablerApexChartCardAdds a richer dashboard card shell around an ApexCharts surface.
Parameters
- config System.Action{HtmlForgeX.TablerApexChartCard}
public TablerAuditLogCard AuditLogCard(Action<TablerAuditLogCard> config) #TablerAuditLogCardAdds a reporting-oriented audit log card with summary metrics and a DataTables surface.
Parameters
- config System.Action{HtmlForgeX.TablerAuditLogCard}
public TablerAvatar Avatar(Action<TablerAvatar> config) #TablerAvatarAdds and configures a Tabler avatar.
Parameters
- config System.Action{HtmlForgeX.TablerAvatar}
- Configuration action.
Returns
The created avatar.
public TablerAvatar Avatar() #TablerAvatarAdds a simple TablerAvatar element.
Returns
The created avatar element.
public TablerAvatarGroup AvatarGroup(Action<TablerAvatarGroup> config) #TablerAvatarGroupAdds an avatar group container.
Parameters
- config System.Action{HtmlForgeX.TablerAvatarGroup}
public TablerBadge Badge(String text, Action<TablerBadge> config = null) #TablerBadgeAdds a Tabler badge.
Parameters
- text System.String
- Badge text.
- color HtmlForgeX.TablerBadgeColor = null
- 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
- config System.Action{HtmlForgeX.TablerBadge}
public TablerBadge Badge(String text, TablerBadgeColor color, TablerBadgeVisualStyle style, TablerBadgeSize size, Boolean pill = true, String href = null) #TablerBadgeAdds a Tabler badge with common options set.
Parameters
- text System.String
- color HtmlForgeX.TablerBadgeColor
- style HtmlForgeX.TablerBadgeVisualStyle
- size HtmlForgeX.TablerBadgeSize
- pill System.Boolean = true
- href System.String = null
public TablerBadgeSpan BadgeSpan(String text, TablerColor color = Blue) #TablerBadgeSpanAdds a Tabler badge span.
Parameters
- text System.String
- Badge text.
- color HtmlForgeX.TablerColor = Blue
- Badge color.
Returns
The created badge span.
public TablerBadgeStatus BadgeStatus(String text, TablerColor color) #TablerBadgeStatusAdds a Tabler badge status.
Parameters
- text System.String
- Badge text.
- color HtmlForgeX.TablerColor
- Badge color.
Returns
The created badge.
public TablerBreakdownCard BreakdownCard(Action<TablerBreakdownCard> config) #TablerBreakdownCardAdds a ranked breakdown card with summary chips and a horizontal comparison chart.
Parameters
- config System.Action{HtmlForgeX.TablerBreakdownCard}
public TablerButton Button(String text, TablerButtonVariant variant = Primary) #TablerButtonAdds a Tabler button with fluent configuration.
Parameters
- text System.String
- Button text.
- config System.Action{HtmlForgeX.TablerButton} = Primary
- Configuration action.
Returns
The created button.
Button(System.String text, HtmlForgeX.TablerButtonVariant variant) #Adds a Tabler button.
Parameters
- text System.String
- Button text.
- variant HtmlForgeX.TablerButtonVariant
- Button variant.
Returns
The created button.
public TablerCalendarWorkspaceCard CalendarWorkspaceCard(Action<TablerCalendarWorkspaceCard> config) #TablerCalendarWorkspaceCardAdds and configures a FullCalendar workspace card.
Parameters
- config System.Action{HtmlForgeX.TablerCalendarWorkspaceCard}
public TablerCard Card(Action<TablerCard> config) #TablerCardAdds and configures a TablerCard.
Parameters
- config System.Action{HtmlForgeX.TablerCard}
- Configuration action.
Returns
The created card element.
public TablerCard Card(Int32 count, Action<TablerCard> config) #TablerCardAdds and configures a TablerCard with a preset count.
Parameters
- count System.Int32
- Initial counter value.
- config System.Action{HtmlForgeX.TablerCard}
- Configuration action.
Returns
The created card element.
public TablerCardBasic CardBasic() #TablerCardBasicAdds a basic tabler card.
Returns
The created card element.
public TablerCardBasic CardBasic(String title, String text) #TablerCardBasicAdds a basic card with title and text.
Parameters
- title System.String
- Card title.
- text System.String
- Card text.
Returns
The created card element.
public TablerCardMini CardMini() #TablerCardMiniAdds a mini variant of TablerCard.
Returns
The created card element.
public TablerCarousel Carousel(Action<TablerCarousel> config) #TablerCarouselAdds and configures a TablerCarousel element.
Parameters
- config System.Action{HtmlForgeX.TablerCarousel}
public TablerCategoryBarChartCard CategoryBarChartCard(Action<TablerCategoryBarChartCard> config) #TablerCategoryBarChartCardAdds a category-focused card with a vertical distributed bar chart and summary strip.
Parameters
- config System.Action{HtmlForgeX.TablerCategoryBarChartCard}
public ChartJs ChartJs(Action<ChartJs> config) #ChartJsAdds a ChartJs>) element and applies the provided configuration.
Parameters
- config System.Action{HtmlForgeX.ChartJs}
- Action used to configure the chart.
Returns
The created chart element.
public TablerColumn Column(Action<TablerColumn> config) #TablerColumnAdds and configures a TablerColumn element.
Parameters
- config System.Action{HtmlForgeX.TablerColumn}
- Configuration action.
Returns
The created column element.
public TablerColumn Column(TablerColumnNumber number, Action<TablerColumn> config) #TablerColumnAdds and configures a TablerColumn element with a specific width.
Parameters
- number HtmlForgeX.TablerColumnNumber
- Column width.
- config System.Action{HtmlForgeX.TablerColumn}
- Configuration action.
Returns
The created column element.
public TablerControlBar ControlBar(Action<TablerControlBar> config) #TablerControlBarAdds and configures a shared control bar for mixed fields, toggles, and actions.
Parameters
- config System.Action{HtmlForgeX.TablerControlBar}
- Configuration action.
Returns
The created control bar.
public TablerCookieBanner CookieBanner(Action<TablerCookieBanner> config) #TablerCookieBannerAdds and configures a TablerCookieBanner element.
Parameters
- config System.Action{HtmlForgeX.TablerCookieBanner}
public TablerCountdown Countdown(Action<TablerCountdown> config = null) #TablerCountdownAdds and configures a countdown timer element.
Parameters
- config System.Action{HtmlForgeX.TablerCountdown} = null
- Optional configuration action.
Returns
The created TablerCountdown.
public TablerCountUp CountUp(Action<TablerCountUp> config) #TablerCountUpAdds an animated countup element.
Parameters
- config System.Action{HtmlForgeX.TablerCountUp}
public TablerDataGrid DataGrid(Action<TablerDataGrid> config) #TablerDataGridAdds and configures a TablerDataGrid element.
Parameters
- config System.Action{HtmlForgeX.TablerDataGrid}
- Configuration action.
Returns
The created data grid.
public TablerDataGridCard DataGridCard(Action<TablerDataGridCard> config) #TablerDataGridCardAdds a status-oriented data grid card with a richer card shell.
Parameters
- config System.Action{HtmlForgeX.TablerDataGridCard}
public TablerDataTableCard DataTableCard(Action<TablerDataTableCard> config) #TablerDataTableCardAdds a review-oriented card shell around a DataTables surface.
Parameters
- config System.Action{HtmlForgeX.TablerDataTableCard}
public VisNetwork DiagramNetwork(Action<VisNetwork> config) #VisNetworkAdds a VisNetwork element and applies the provided configuration.
Parameters
- config System.Action{HtmlForgeX.VisNetwork}
- Action used to configure the network diagram.
Returns
The created network element.
public TablerDistributionCard DistributionCard(Action<TablerDistributionCard> config) #TablerDistributionCardAdds a distribution-focused card with a donut chart and summary rail.
Parameters
- config System.Action{HtmlForgeX.TablerDistributionCard}
public HtmlTag Div(Action<HtmlTag> config) #HtmlTagAdds a div element with configuration.
Parameters
- config System.Action{HtmlForgeX.HtmlTag}
- Configuration action.
Returns
The created div element.
public TablerEmptyState EmptyState(Action<TablerEmptyState> config) #TablerEmptyStateAdds and configures a TablerEmptyState element.
Parameters
- config System.Action{HtmlForgeX.TablerEmptyState}
public TablerEmptyStateCard EmptyStateCard(Action<TablerEmptyStateCard> config) #TablerEmptyStateCardAdds a richer empty-state card for no-results, no-data, or nothing-to-review surfaces.
Parameters
- config System.Action{HtmlForgeX.TablerEmptyStateCard}
public FancyTree FancyTree(Action<FancyTree> config) #FancyTreeAdds and configures a fancy tree widget.
Parameters
- config System.Action{HtmlForgeX.FancyTree}
- Configuration action.
Returns
The created tree element.
public TablerFlagIcon Flag(Country country) #TablerFlagIconAdds a Tabler flag icon span (class="flag flag-country-xx").
Parameters
- iso2 System.String
public TablerFlagList Flags(Action<TablerFlagList> config) #TablerFlagListAdds and configures a list/gallery of country flags without writing raw HTML/CSS.
Parameters
- config System.Action{HtmlForgeX.TablerFlagList}
public TablerForm Form(Action<TablerForm> config) #TablerFormAdds and configures a TablerForm element.
Parameters
- config System.Action{HtmlForgeX.TablerForm}
- Configuration action.
Returns
The created form element.
public FullCalendar FullCalendar(Action<FullCalendar> config) #FullCalendarAdds and configures a FullCalendar component.
Parameters
- config System.Action{HtmlForgeX.FullCalendar}
- Configuration action.
Returns
The created calendar element.
public TablerGaugeCard GaugeCard(Action<TablerGaugeCard> config) #TablerGaugeCardAdds a dashboard-oriented gauge card with a built-in radial chart.
Parameters
- config System.Action{HtmlForgeX.TablerGaugeCard}
public TablerGeoSummaryCard GeoSummaryCard(Action<TablerGeoSummaryCard> config) #TablerGeoSummaryCardAdds a geographic summary card that combines a map surface with summary metrics and regional highlights.
Parameters
- config System.Action{HtmlForgeX.TablerGeoSummaryCard}
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) #HeaderLevelAdds an H1 heading.
Parameters
- text System.String
- The heading text.
Returns
The HeaderLevel element.
public HeaderLevel H2(String text) #HeaderLevelAdds an H2 heading.
Parameters
- text System.String
- The heading text.
Returns
The HeaderLevel element.
public HeaderLevel H3(String text) #HeaderLevelAdds an H3 heading.
Parameters
- text System.String
- The heading text.
Returns
The HeaderLevel element.
public HeaderLevel H4(String text) #HeaderLevelAdds an H4 heading.
Parameters
- text System.String
- The heading text.
Returns
The HeaderLevel element.
public HeaderLevel H5(String text) #HeaderLevelAdds an H5 heading.
Parameters
- text System.String
- The heading text.
Returns
The HeaderLevel element.
public HeaderLevel H6(String text) #HeaderLevelAdds an H6 heading.
Parameters
- text System.String
- The heading text.
Returns
The HeaderLevel element.
public HeaderLevel HeaderLevel(HeaderLevelTag level, String text) #HeaderLevelAdds a header element of the specified level.
Parameters
- level HtmlForgeX.HeaderLevelTag
- Header level.
- text System.String
- Header text.
Returns
The created header element.
public TablerHeroCard HeroCard(Action<TablerHeroCard> config) #TablerHeroCardAdds a dashboard-oriented hero card with a richer visual treatment.
Parameters
- config System.Action{HtmlForgeX.TablerHeroCard}
public TablerHighlightCard HighlightCard(Action<TablerHighlightCard> config) #TablerHighlightCardAdds a highlight card with an annotated visual stage.
Parameters
- config System.Action{HtmlForgeX.TablerHighlightCard}
public TablerIconElement Icon(TablerIconType icon, Action<TablerIconElement> config) #TablerIconElementAdds a FontAwesome icon with a solid style.
Parameters
- icon HtmlForgeX.FontAwesomeSolid
- The solid icon to add.
- config System.Action{HtmlForgeX.FontAwesomeIcon} = null
- 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
- The regular icon to add.
- config System.Action{HtmlForgeX.FontAwesomeIcon}
- 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
- The brand icon to add.
- config System.Action{HtmlForgeX.FontAwesomeIcon}
- Optional configuration action.
Returns
The created icon element.
public TablerIconElement Icon(TablerIconType icon) #TablerIconElementAdds a FontAwesome icon with configuration.
Parameters
- config System.Action{HtmlForgeX.FontAwesomeIcon}
- Configuration action for the icon.
Returns
The created icon element.
Icon(HtmlForgeX.TablerIconType icon) #Adds a Tabler icon element.
Parameters
- icon HtmlForgeX.TablerIconType
- 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
- Icon type.
- config System.Action{HtmlForgeX.TablerIconElement}
- Configuration action.
Returns
The created icon element.
public TablerIconFont IconFont(TablerIconType icon) #TablerIconFontAdds a Tabler icon font.
Parameters
- icon System.String
- Icon name or type.
Returns
The created icon font.
IconFont(HtmlForgeX.TablerIconType icon) #Adds a Tabler icon font.
Parameters
- icon HtmlForgeX.TablerIconType
- Icon type.
Returns
The created icon font.
public TablerIncidentTimelineCard IncidentTimelineCard(Action<TablerIncidentTimelineCard> config) #TablerIncidentTimelineCardAdds an incident review card built around a timeline with summary counters.
Parameters
- config System.Action{HtmlForgeX.TablerIncidentTimelineCard}
public TablerInsightSummaryCard InsightSummaryCard(Action<TablerInsightSummaryCard> config) #TablerInsightSummaryCardAdds an insight summary card with hero copy and compact highlight tiles.
Parameters
- config System.Action{HtmlForgeX.TablerInsightSummaryCard}
public TablerLightboxGallery LightboxGallery(Action<TablerLightboxGallery> config) #TablerLightboxGalleryAdds and configures a TablerLightboxGallery element.
Parameters
- config System.Action{HtmlForgeX.TablerLightboxGallery}
public LineBreak LineBreak() #LineBreakAdds a line break element.
Returns
The created line break.
public TablerLineComparisonCard LineComparisonCard(Action<TablerLineComparisonCard> config) #TablerLineComparisonCardAdds a comparison-focused card with a multi-series line chart and summary strip.
Parameters
- config System.Action{HtmlForgeX.TablerLineComparisonCard}
public TablerButton LinkButton(String text, String href, TablerButtonVariant variant = Primary) #TablerButtonAdds a Tabler link button.
Parameters
- text System.String
- Button text.
- href System.String
- Link URL.
- variant HtmlForgeX.TablerButtonVariant = Primary
- Button variant.
Returns
The created button.
public TablerListCard ListCard(Action<TablerListCard> config) #TablerListCardAdds a compact list card for findings, notes, or short checklists.
Parameters
- config System.Action{HtmlForgeX.TablerListCard}
public TablerListGroup ListGroup(Action<TablerListGroup> config) #TablerListGroupAdds and configures a TablerListGroup element.
Parameters
- config System.Action{HtmlForgeX.TablerListGroup}
public TablerLogs Logs(List<String> code, TablerLogsTheme theme = Dark, String backgroundClass = null, String textClass = null) #TablerLogsAdds a log viewer with source code as a single string.
Parameters
- code System.String
- Code to display.
- theme HtmlForgeX.TablerLogsTheme = Dark
- Color theme.
- backgroundClass System.String = null
- Optional custom background class.
- textClass System.String = null
- 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[]
- theme HtmlForgeX.TablerLogsTheme
- backgroundClass System.String
- textClass System.String
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}
- theme HtmlForgeX.TablerLogsTheme
- backgroundClass System.String
- textClass System.String
public TablerLogs Logs(List<String> code, RGBColor backgroundColor, RGBColor textColor) #TablerLogsAdds a log viewer with custom colors.
Parameters
- code System.String
- backgroundColor HtmlForgeX.RGBColor
- textColor HtmlForgeX.RGBColor
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[]
- backgroundColor HtmlForgeX.RGBColor
- textColor HtmlForgeX.RGBColor
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}
- backgroundColor HtmlForgeX.RGBColor
- textColor HtmlForgeX.RGBColor
public TablerMapSummaryCard MapSummaryCard(Action<TablerMapSummaryCard> config) #TablerMapSummaryCardAdds a vector-map summary card with supporting metrics.
Parameters
- config System.Action{HtmlForgeX.TablerMapSummaryCard}
public TablerMetricCard MetricCard(Action<TablerMetricCard> config) #TablerMetricCardAdds a dashboard-oriented metric card with optional inline chart or progress.
Parameters
- config System.Action{HtmlForgeX.TablerMetricCard}
public TablerModal Modal(Action<TablerModal> config) #TablerModalAdds and configures a TablerModal component.
Parameters
- config System.Action{HtmlForgeX.TablerModal}
- Configuration action.
Returns
The created modal.
public TablerNarrativeCard NarrativeCard(Action<TablerNarrativeCard> config) #TablerNarrativeCardAdds a compact narrative card for short tab summaries or operator context.
Parameters
- config System.Action{HtmlForgeX.TablerNarrativeCard}
public TablerNarrativeSummaryCard NarrativeSummaryCard(Action<TablerNarrativeSummaryCard> config) #TablerNarrativeSummaryCardAdds a narrative summary card with editorial copy, a compact metric rail, and supporting insights.
Parameters
- config System.Action{HtmlForgeX.TablerNarrativeSummaryCard}
OnAddedToDocument() #Called when this element is added to a document. Override this method to apply document-specific configuration.
public TablerPageHeader PageHeader(Action<TablerPageHeader> config) #TablerPageHeaderAdds a page header element with configuration.
Parameters
- config System.Action{HtmlForgeX.TablerPageHeader}
- Configuration action.
Returns
The created page header element.
public TablerPeopleReviewCard PeopleReviewCard(Action<TablerPeopleReviewCard> config) #TablerPeopleReviewCardAdds a people review card with alignment context and decision queue content.
Parameters
- config System.Action{HtmlForgeX.TablerPeopleReviewCard}
public TablerPlaceholder Placeholder(Action<TablerPlaceholder> config) #TablerPlaceholderAdds and configures a TablerPlaceholder element.
Parameters
- config System.Action{HtmlForgeX.TablerPlaceholder}
public TablerPlaceholderCard PlaceholderCard(Action<TablerPlaceholderCard> config) #TablerPlaceholderCardAdds a richer skeleton-loading card with image, avatar, lines, and list-row affordances.
Parameters
- config System.Action{HtmlForgeX.TablerPlaceholderCard}
public TablerPlaceholderContainer Placeholders(Action<TablerPlaceholderContainer> config) #TablerPlaceholderContainerAdds and configures a TablerPlaceholderContainer element.
Parameters
- config System.Action{HtmlForgeX.TablerPlaceholderContainer}
public TablerPresenceListCard PresenceListCard(Action<TablerPresenceListCard> config) #TablerPresenceListCardAdds a presence list card built around avatars and status badges.
Parameters
- config System.Action{HtmlForgeX.TablerPresenceListCard}
public TablerProgressBar ProgressBar() #TablerProgressBarAdds a Tabler progress bar.
Returns
The created progress bar.
public TablerProgressBar ProgressBar(TablerProgressBarType type) #TablerProgressBarAdds and configures a Tabler progress bar.
Parameters
- config System.Action{HtmlForgeX.TablerProgressBar}
- Configuration action.
Returns
The created progress bar.
ProgressBar(HtmlForgeX.TablerProgressBarType type) #Adds a progress bar of a given type.
Parameters
- type HtmlForgeX.TablerProgressBarType
- Progress bar type.
Returns
The created progress bar.
public TablerProgressBar ProgressBar(TablerProgressBarType type, Int32 percentage, Nullable<TablerColor> tablerBackground = null) #TablerProgressBarAdds a progress bar prepopulated with a value.
Parameters
- type HtmlForgeX.TablerProgressBarType
- Progress bar type.
- percentage System.Int32
- Initial percentage value.
- tablerBackground System.Nullable{HtmlForgeX.TablerColor} = null
- Optional background color.
Returns
The created progress bar.
public TablerProgressListCard ProgressListCard(Action<TablerProgressListCard> config) #TablerProgressListCardAdds a richer dashboard card shell around ranked progress items.
Parameters
- config System.Action{HtmlForgeX.TablerProgressListCard}
PropagateDocumentToChildren() #Recursively sets the document reference for all child elements.
public EasyQRCodeElement QRCode(String text) #EasyQRCodeElementAdds a QR code element with specified text.
Parameters
- text System.String
- Text to encode.
Returns
The created QR code element.
public QuillEditor QuillEditor(Action<QuillEditor> config = null) #QuillEditorAdds a Quill editor component.
Parameters
- config System.Action{HtmlForgeX.QuillEditor} = null
- 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) #TablerReviewListCardAdds a review list card with a compact metric rail and ranked note entries.
Parameters
- config System.Action{HtmlForgeX.TablerReviewListCard}
public TablerScheduleSummaryCard ScheduleSummaryCard(Action<TablerScheduleSummaryCard> config) #TablerScheduleSummaryCardAdds and configures a compact scheduling summary card.
Parameters
- config System.Action{HtmlForgeX.TablerScheduleSummaryCard}
public ScrollingText ScrollingText(Action<ScrollingText> config) #ScrollingTextAdds a scrolling text component.
Parameters
- config System.Action{HtmlForgeX.ScrollingText}
- Configuration action.
Returns
The created component.
public TablerScrollSpy ScrollSpy(Action<TablerScrollSpy> config) #TablerScrollSpyAdds and configures a ScrollSpy container (vertical nav + scrollable content).
Parameters
- config System.Action{HtmlForgeX.TablerScrollSpy}
public SmartTab SmartTab(Action<SmartTab> config) #SmartTabAdds and configures a SmartTab component.
Parameters
- config System.Action{HtmlForgeX.SmartTab}
- Configuration action.
Returns
The created SmartTab.
public SmartWizard SmartWizard(Action<SmartWizard> config) #SmartWizardAdds and configures a SmartWizard component.
Parameters
- config System.Action{HtmlForgeX.SmartWizard}
- Configuration action.
Returns
The created SmartWizard.
public TablerSocialTileCard SocialTileCard(Action<TablerSocialTileCard> config) #TablerSocialTileCardAdds a social-style stat tile with optional animated numeric value.
Parameters
- config System.Action{HtmlForgeX.TablerSocialTileCard}
public Span Span(String content = "") #SpanAdds the span.
Parameters
- content System.String = ""
- The content.
public TablerSparkline Sparkline(Action<TablerSparkline> config) #TablerSparklineAdds and configures a compact inline sparkline.
Parameters
- config System.Action{HtmlForgeX.TablerSparkline}
public TablerSpinner Spinner(Action<TablerSpinner> config) #TablerSpinnerAdds and configures a TablerSpinner element.
Parameters
- config System.Action{HtmlForgeX.TablerSpinner}
public TablerStatTileCard StatTileCard(Action<TablerStatTileCard> config) #TablerStatTileCardAdds a compact but richer stat tile card.
Parameters
- config System.Action{HtmlForgeX.TablerStatTileCard}
public TablerStatusIndicator StatusIndicator(Action<TablerStatusIndicator> config) #TablerStatusIndicatorAdds a three-dot Tabler status indicator.
Parameters
- config System.Action{HtmlForgeX.TablerStatusIndicator}
public TablerStatusStrip StatusStrip(Action<TablerStatusStrip> config) #TablerStatusStripAdds a compact status strip with several summary signals.
Parameters
- config System.Action{HtmlForgeX.TablerStatusStrip}
public TablerSummaryStrip SummaryStrip(Action<TablerSummaryStrip> config) #TablerSummaryStripAdds a compact summary strip made of reusable metric chips.
Parameters
- config System.Action{HtmlForgeX.TablerSummaryStrip}
public Table Table(Object objects, TableType tableType) #TableCreates a table from a collection of objects.
Parameters
- objects System.Collections.Generic.IEnumerable{System.Object}
- Data source.
- tableType HtmlForgeX.TableType
- 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
- Object containing data.
- tableType HtmlForgeX.TableType
- Table library type.
Returns
The created table element.
public TablerInput TablerInput(String name, Action<TablerInput> config = null) #TablerInputAdds a TablerInput form element.
Parameters
- name System.String
- Input name and identifier.
- config System.Action{HtmlForgeX.TablerInput} = null
- Optional configuration action.
Returns
The created TablerInput.
public UnorderedList TablerList() #UnorderedListAdds an unordered list styled with Tabler classes.
public TablerProgressBar TablerProgress(Action<TablerProgressBar> config) #TablerProgressBarAdds a TablerProgress element with configuration.
Parameters
- config System.Action{HtmlForgeX.TablerProgressBar}
- Configuration action.
Returns
The created progress element.
public TablerSelect TablerSelect(String name, Action<TablerSelect> config = null) #TablerSelectAdds a TablerSelect form element.
Parameters
- name System.String
- Select name and identifier.
- config System.Action{HtmlForgeX.TablerSelect} = null
- Optional configuration action.
Returns
The created TablerSelect.
public TablerSteps TablerSteps(Action<TablerSteps> config) #TablerStepsAdds a TablerSteps element with configuration.
Parameters
- config System.Action{HtmlForgeX.TablerSteps}
- Configuration action.
Returns
The created steps element.
public TablerTextarea TablerTextarea(String name, Action<TablerTextarea> config = null) #TablerTextareaAdds a TablerTextarea form element.
Parameters
- name System.String
- Textarea name and identifier.
- config System.Action{HtmlForgeX.TablerTextarea} = null
- Optional configuration action.
Returns
The created TablerTextarea.
public TablerTableSummaryCard TableSummaryCard(Action<TablerTableSummaryCard> config) #TablerTableSummaryCardAdds a table summary card with summary metrics, an optional highlight message, and a DataTables surface.
Parameters
- config System.Action{HtmlForgeX.TablerTableSummaryCard}
public TablerTabs Tabs(Action<TablerTabs> config) #TablerTabsAdds and configures tab navigation.
Parameters
- config System.Action{HtmlForgeX.TablerTabs}
public TablerTag Tag(String text) #TablerTagAdds a Tabler tag.
Parameters
- text System.String
- Tag text.
Returns
The created tag.
public TablerTags Tags(Action<TablerTags> config) #TablerTagsAdds and configures a container of tag chips.
Parameters
- config System.Action{HtmlForgeX.TablerTags}
- Configuration action.
Returns
The created tags container.
public TablerTaskList Tasks(Action<TablerTaskList> config) #TablerTaskListAdds and configures a Tabler task list (checklist).
Parameters
- config System.Action{HtmlForgeX.TablerTaskList}
- Configuration action.
Returns
The created task list.
public Span Text(String content, RGBColor color = null, String fontSize = null) #SpanAdds a simple text span with optional color and size.
Parameters
- content System.String
- The text content.
- color HtmlForgeX.RGBColor = null
- Optional text color.
- fontSize System.String = null
- Optional font size.
public TablerText Text(String text) #TablerTextAdds a text element with initial value.
Parameters
- text System.String
- Initial text.
Returns
The created text element.
public TablerText Text() #TablerTextAdds an empty text element.
Returns
The created text element.
public TablerTimeline Timeline(Action<TablerTimeline> config) #TablerTimelineAdds and configures a timeline component.
Parameters
- config System.Action{HtmlForgeX.TablerTimeline}
public TablerTimelineSummaryCard TimelineSummaryCard(Action<TablerTimelineSummaryCard> config) #TablerTimelineSummaryCardAdds a timeline summary card with a summary strip, optional callout, and scrollable timeline surface.
Parameters
- config System.Action{HtmlForgeX.TablerTimelineSummaryCard}
public TablerToast Toast(String title, String message, TablerToastType type = Default) #TablerToastAdds a toast notification with preset text.
Parameters
- title System.String
- message System.String
- type HtmlForgeX.TablerToastType = Default
public TablerToast Toast(Action<TablerToast> config) #TablerToastAdds and configures a toast notification.
Parameters
- config System.Action{HtmlForgeX.TablerToast}
public abstract String ToString() #StringReturns a string representation of the element.
Returns
HTML output for this element.
public TablerTracking Tracking() #TablerTrackingAdds an invisible tracking pixel component.
public TablerTrackingSummaryCard TrackingSummaryCard(Action<TablerTrackingSummaryCard> config) #TablerTrackingSummaryCardAdds a tracking summary card with a headline metric and Tabler tracking blocks.
Parameters
- config System.Action{HtmlForgeX.TablerTrackingSummaryCard}
public TablerVectorMapCard VectorMapCard(Action<TablerVectorMapCard> config) #TablerVectorMapCardAdds a richer dashboard card shell around a jsVectorMap surface.
Parameters
- config System.Action{HtmlForgeX.TablerVectorMapCard}
public TablerWorkflowStepsCard WorkflowStepsCard(Action<TablerWorkflowStepsCard> config) #TablerWorkflowStepsCardAdds a workflow steps card driven by typed steps and compact supporting signals.
Parameters
- config System.Action{HtmlForgeX.TablerWorkflowStepsCard}
public TablerWorkflowSummaryCard WorkflowSummaryCard(Action<TablerWorkflowSummaryCard> config) #TablerWorkflowSummaryCardAdds a workflow summary card with rollout metrics, timeline, and checklist content.
Parameters
- config System.Action{HtmlForgeX.TablerWorkflowSummaryCard}
public TablerWorkspaceTabsCard WorkspaceTabsCard(Action<TablerWorkspaceTabsCard> config) #TablerWorkspaceTabsCardAdds a card wrapper around a segmented tab workspace.
Parameters
- config System.Action{HtmlForgeX.TablerWorkspaceTabsCard}
Inherited Methods
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) #ElementAppends a blockquote with inline runs built via InlineText.
Parameters
- parent HtmlForgeX.Element
- build System.Action{HtmlForgeX.InlineText}
public static DataTablesTable DataTable(Element element, IEnumerable<Object> objects, Action<DataTablesTable> configure) #DataTablesTableCreates a DataTables table with the specified data and configures it using the provided action.
Parameters
- element HtmlForgeX.Element
- objects System.Collections.Generic.IEnumerable{System.Object}
- configure System.Action{HtmlForgeX.DataTablesTable}
public static DataTablesTable DataTable(Element element, Object objects, Action<DataTablesTable> configure) #DataTablesTableCreates a DataTables table with the specified data and configures it using the provided action.
Parameters
- element HtmlForgeX.Element
- objects System.Collections.Generic.IEnumerable{System.Object}
- configure System.Action{HtmlForgeX.DataTablesTable}
public static DataTablesTable DataTable(Element element, IEnumerable<Object> objects) #DataTablesTableCreates a DataTables table with default settings and returns it for further chaining.
Parameters
- element HtmlForgeX.Element
- objects System.Collections.Generic.IEnumerable{System.Object}
public static DataTablesTable DataTable(Element element, Object objects) #DataTablesTableCreates a DataTables table with default settings and returns it for further chaining.
Parameters
- element HtmlForgeX.Element
- objects System.Collections.Generic.IEnumerable{System.Object}
public static Element H(Element parent, HeaderLevelTag level, Action<InlineText> build) #ElementAppends a heading element (<h1>..<h6>) built using InlineText runs.
Parameters
- parent HtmlForgeX.Element
- Parent element to receive the heading.
- level HtmlForgeX.HeaderLevelTag
- Heading level (H1..H6).
- build System.Action{HtmlForgeX.InlineText}
- Builder that appends inline runs to the heading.
Returns
The parent element for chaining.
public static Element H1(Element parent, Action<InlineText> b) #ElementAdds an H1 heading using InlineText.
Parameters
- parent HtmlForgeX.Element
- b System.Action{HtmlForgeX.InlineText}
public static Element H2(Element parent, Action<InlineText> b) #ElementAdds an H2 heading using InlineText.
Parameters
- parent HtmlForgeX.Element
- b System.Action{HtmlForgeX.InlineText}
public static Element H3(Element parent, Action<InlineText> b) #ElementAdds an H3 heading using InlineText.
Parameters
- parent HtmlForgeX.Element
- b System.Action{HtmlForgeX.InlineText}
public static Element H4(Element parent, Action<InlineText> b) #ElementAdds an H4 heading using InlineText.
Parameters
- parent HtmlForgeX.Element
- b System.Action{HtmlForgeX.InlineText}
public static Element H5(Element parent, Action<InlineText> b) #ElementAdds an H5 heading using InlineText.
Parameters
- parent HtmlForgeX.Element
- b System.Action{HtmlForgeX.InlineText}
public static Element H6(Element parent, Action<InlineText> b) #ElementAdds an H6 heading using InlineText.
Parameters
- parent HtmlForgeX.Element
- b System.Action{HtmlForgeX.InlineText}
public static Element Markdown(Element element, String markdown, MarkdownOptions options = null) #ElementRenders Markdown content and adds it to the element.
Parameters
- element HtmlForgeX.Element
- The element to add Markdown content to.
- markdown System.String
- The Markdown text to render.
- options HtmlForgeX.Markdown.MarkdownOptions = null
- Optional configuration for Markdown rendering.
Returns
The element for method chaining.
public static TablerPagination Pagination(Element element, Action<TablerPagination> configure) #TablerPaginationAdds a Tabler pagination to the element with fluent configuration
Parameters
- element HtmlForgeX.Element
- configure System.Action{HtmlForgeX.TablerPagination}
public static TablerPagination Pagination(Element element) #TablerPaginationAdds a Tabler pagination to the element
Parameters
- element HtmlForgeX.Element
public static Element Paragraph(Element parent, Action<InlineText> build) #ElementAppends a paragraph (<p>) built via InlineText.
Parameters
- parent HtmlForgeX.Element
- build System.Action{HtmlForgeX.InlineText}
public static Element Paragraph(Element parent, Action<InlineText> build, ParagraphStyle style) #ElementAppends a paragraph with an optional style (e.g., Lead).
Parameters
- parent HtmlForgeX.Element
- build System.Action{HtmlForgeX.InlineText}
- style HtmlForgeX.ParagraphStyle
public static Element Quote(Element parent, Action<InlineText> quote, Action<InlineText> cite = null) #ElementAppends a figure containing a blockquote and optional figcaption, both built via InlineText.
Parameters
- parent HtmlForgeX.Element
- quote System.Action{HtmlForgeX.InlineText}
- cite System.Action{HtmlForgeX.InlineText} = null
public static SmartTab SmartTab(Element element, Action<SmartTab> configure = null) #SmartTabAdds a SmartTab component to the element.
Parameters
- element HtmlForgeX.Element
- The element to add the SmartTab to.
- configure System.Action{HtmlForgeX.SmartTab} = null
- Configuration action for the SmartTab.
Returns
The SmartTab instance for further configuration.
public static SmartWizard SmartWizard(Element element, Action<SmartWizard> configure = null) #SmartWizardAdds a SmartWizard component to the element.
Parameters
- element HtmlForgeX.Element
- The element to add the SmartWizard to.
- configure System.Action{HtmlForgeX.SmartWizard} = null
- Configuration action for the SmartWizard.
Returns
The SmartWizard instance for further configuration.
public static Table Table(Element element, IEnumerable<Object> objects, TableType tableType, Action<Table> configure) #TableCreates a table with the specified data and configures it using the provided action.
Parameters
- element HtmlForgeX.Element
- The element to add the table to.
- objects System.Collections.Generic.IEnumerable{System.Object}
- The data objects to display in the table.
- tableType HtmlForgeX.TableType
- Table library type.
- configure System.Action{HtmlForgeX.Table}
- 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) #TableCreates a table with the specified data and configures it using the provided action.
Parameters
- element HtmlForgeX.Element
- The element to add the table to.
- objects System.Collections.Generic.IEnumerable{System.Object}
- The data objects to display in the table.
- tableType HtmlForgeX.TableType
- Table library type.
- configure System.Action{HtmlForgeX.Table}
- Action to configure the table.
Returns
The created and configured table element.
public static Element Text(Element parent, Action<InlineText> build) #ElementAppends a paragraph (<p>) that contains runs built via InlineText. Prefer this for paragraph text to keep semantics clear.
Parameters
- parent HtmlForgeX.Element
- Parent element.
- build System.Action{HtmlForgeX.InlineText}
- 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) #ElementAppends a heading (<h1>..<h6>) that contains runs built via InlineText.
Parameters
- parent HtmlForgeX.Element
- Parent element.
- heading HtmlForgeX.HeaderLevelTag
- Heading level.
- build System.Action{HtmlForgeX.InlineText}
- InlineText builder for the heading’s inline runs.
Returns
The parent element for chaining.
public static Element TextInline(Element parent, Action<InlineText> build) #ElementAppends 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
- Parent element to receive the span.
- build System.Action{HtmlForgeX.InlineText}
- InlineText builder for the span’s content.
Returns
The parent element for chaining.