HtmlForgeX

API Reference

Class

TablerTableSummaryCard

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Element
Modifiers sealed

Table-focused summary card that combines compact summary metrics, an optional highlight rail, and a DataTables surface.

Inheritance

Constructors

Methods

public TablerTableSummaryCard Accent(TablerColor color) #
Returns: TablerTableSummaryCard

Sets the ambient accent color used by the table card.

Parameters

color HtmlForgeX.TablerColor requiredposition: 0
public TablerTableSummaryCard AddMetric(String label, String value, String note = null, Nullable<TablerColor> color = null, Nullable<TablerIconType> icon = null) #
Returns: TablerTableSummaryCard

Adds a compact headline metric above the table surface.

Parameters

label System.String requiredposition: 0
value System.String requiredposition: 1
note System.String = null optionalposition: 2
color System.Nullable{HtmlForgeX.TablerColor} = null optionalposition: 3
icon System.Nullable{HtmlForgeX.TablerIconType} = null optionalposition: 4
Bind 2 overloads
public TablerTableSummaryCard Bind(IEnumerable<Object> data, Action<DataTablesTable> configure = null) #
Returns: TablerTableSummaryCard

Binds a single object or collection to the card's DataTable surface.

Parameters

data System.Object requiredposition: 0
configure System.Action{HtmlForgeX.DataTablesTable} = null optionalposition: 1
Bind(System.Collections.Generic.IEnumerable{System.Object} data, System.Action{HtmlForgeX.DataTablesTable} configure) #

Binds a collection to the card's DataTable surface.

Parameters

data System.Collections.Generic.IEnumerable{System.Object} required
configure System.Action{HtmlForgeX.DataTablesTable} required
GetAuxiliaryChildren() #
public TablerTableSummaryCard Highlight(String title, String text, Nullable<TablerColor> color = null, Nullable<TablerIconType> icon = null) #
Returns: TablerTableSummaryCard

Adds a compact highlight message between the summary strip and the table.

Parameters

title System.String requiredposition: 0
text System.String requiredposition: 1
color System.Nullable{HtmlForgeX.TablerColor} = null optionalposition: 2
icon System.Nullable{HtmlForgeX.TablerIconType} = null optionalposition: 3
OnAddedToDocument() #
RegisterLibraries() #
public TablerTableSummaryCard Settings(Action<TablerTableSummaryCardSettings> configure) #
Returns: TablerTableSummaryCard

Groups advanced display options under a smaller fluent surface.

Parameters

configure System.Action{HtmlForgeX.TablerTableSummaryCardSettings} requiredposition: 0
public TablerTableSummaryCard Subtitle(String subtitle) #
Returns: TablerTableSummaryCard

Sets supporting text displayed below the title.

Parameters

subtitle System.String requiredposition: 0
public TablerTableSummaryCard Title(String title) #
Returns: TablerTableSummaryCard

Sets the card title.

Parameters

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