HtmlForgeX

API Reference

Class

TablerCardBody

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Element

Tabler card body component with fluent API - no raw HTML required

Inheritance

Constructors

Methods

public override Element Add(Element element) #
Returns: Element

Parameters

element HtmlForgeX.Element requiredposition: 0
public TablerCardBody AddList(Action<TablerCardList> listConfig) #
Returns: TablerCardBody

Add a list to the card body

Parameters

listConfig System.Action{HtmlForgeX.TablerCardList} requiredposition: 0
public TablerCardBody AddText(Action<TablerCardText> textConfig) #
Returns: TablerCardBody

Add formatted text element

Parameters

textConfig System.Action{HtmlForgeX.TablerCardText} requiredposition: 0
public TablerCardBody Align(TablerCardAlignment alignment) #
Returns: TablerCardBody

Set content alignment

Parameters

alignment HtmlForgeX.TablerCardAlignment requiredposition: 0
public TablerCardBody Buttons(Action<TablerButtonBar> config) #
Returns: TablerCardBody

Adds a horizontal button bar to the card body with sensible spacing.

Parameters

config System.Action{HtmlForgeX.TablerButtonBar} requiredposition: 0
public TablerCardBody Content(Element element) #
Returns: TablerCardBody

Adds arbitrary content to the card body.

Parameters

element HtmlForgeX.Element requiredposition: 0
EnsureChildrenHaveDocumentReference() #

Ensures all children have proper Document references for library registration

GetAuxiliaryChildren() #

Provide auxiliary children for base propagation (text items, lists, data grids, image).

public TablerCardBody Globe(Action<GlobeGl> configure) #
Returns: TablerCardBody

Adds a 3D globe to the card body using a fluent configuration action.

Parameters

configure System.Action{HtmlForgeX.GlobeGl} requiredposition: 0
public TablerCardBody Image(Action<TablerCardImage> imageConfig) #
Returns: TablerCardBody

Add an image to the card body

Parameters

imageConfig System.Action{HtmlForgeX.TablerCardImage} requiredposition: 0
public TablerCardBody Leaflet(Action<LeafletMap> configure) #
Returns: TablerCardBody

Adds a Leaflet map to the card body using a fluent configuration action.

Parameters

configure System.Action{HtmlForgeX.LeafletMap} requiredposition: 0
public TablerCardBody Mapbox(Action<MapboxMap> configure) #
Returns: TablerCardBody

Adds a Mapbox GL map to the card body using a fluent configuration action.

Parameters

configure System.Action{HtmlForgeX.MapboxMap} requiredposition: 0
OnAddedToDocument() #

Override to ensure child elements have Document reference when initially added to document

public TablerCardBody Settings(Action<TablerCardBodySettings> configure) #
Returns: TablerCardBody

Advanced configuration sub-builder to keep the root surface tidy.

Parameters

configure System.Action{HtmlForgeX.TablerCardBodySettings} requiredposition: 0
public TablerCardBody Style(TablerTextStyle style) #
Returns: TablerCardBody
EditorBrowsable(2) Obsolete("TablerCardBody.Style(...) does not style child content. Style the TablerText returned by Text(...) or use AddText(...).", false)

Legacy compatibility method. Text styling belongs on the TablerText returned by String) or on individual TablerCardText items from TablerCardText>).

Parameters

style HtmlForgeX.TablerTextStyle requiredposition: 0
public TablerCardBody Title(String title) #
Returns: TablerCardBody

Set the card body title

Parameters

title System.String requiredposition: 0
public override String ToString() #
Returns: String

Initializes or configures ToString.

public TablerCardBody VectorMap(Action<JsVectorMap> configure) #
Returns: TablerCardBody

Adds a jsVectorMap to the card body using a fluent configuration action.

Parameters

configure System.Action{HtmlForgeX.JsVectorMap} requiredposition: 0
public TablerCardBody Weight(TablerFontWeight weight) #
Returns: TablerCardBody
EditorBrowsable(2) Obsolete("TablerCardBody.Weight(...) does not style child content. Apply weight to the TablerText returned by Text(...) or use AddText(...).", false)

Legacy compatibility method. Font weight belongs on the TablerText returned by String) or on individual TablerCardText items from TablerCardText>).

Parameters

weight HtmlForgeX.TablerFontWeight requiredposition: 0

Properties

public Document Document { get; set; } #

Hide inherited Document property to ensure proper propagation to children

Extension Methods

public static TablerForm FormForModel<T>(TablerCardBody body, T model, Action<FormForOptions> configure = null) #
Returns: TablerForm

Type Parameters

T

Parameters

body TablerCardBody requiredposition: 0
model T requiredposition: 1
configure Action<FormForOptions> = null optionalposition: 2
public static SmartTab SmartTab(TablerCardBody cardBody, 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(TablerCardBody cardBody, 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.