HtmlForgeX

API Reference

Class

TablerTargetMetricCard

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Element
Modifiers sealed

Visual KPI card with a colored icon, primary value, comparison delta, and target progress bar.

Inheritance

Usage

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

Returned or exposed by

Accepted by parameters

Constructors

Methods

public TablerTargetMetricCard Accent(TablerColor color) #
Returns: TablerTargetMetricCard

Sets the accent color used by the icon, progress bar, and legend.

Parameters

color HtmlForgeX.TablerColor requiredposition: 0
public TablerTargetMetricCard Change(String text, Nullable<TablerChangeType> type = null) #
Returns: TablerTargetMetricCard

Sets the comparison delta and infers its direction when not supplied.

Parameters

text System.String requiredposition: 0
type System.Nullable{HtmlForgeX.TablerChangeType} = null optionalposition: 1
RegisterLibraries() #
public TablerTargetMetricCard Settings(Action<TablerTargetMetricCardSettings> configure) #
Returns: TablerTargetMetricCard

Groups less-common visual options under a smaller fluent surface.

Parameters

configure System.Action{HtmlForgeX.TablerTargetMetricCardSettings} requiredposition: 0
public TablerTargetMetricCard SupportingValue(String value) #
Returns: TablerTargetMetricCard

Sets the small supporting value shown beside the primary metric.

Parameters

value System.String requiredposition: 0
public TablerTargetMetricCard Target(Double percent) #
Returns: TablerTargetMetricCard

Sets the target completion percentage.

Parameters

percent System.Double requiredposition: 0
public TablerTargetMetricCard Title(String title) #
Returns: TablerTargetMetricCard

Sets the card title.

Parameters

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

Sets the primary metric value.

Parameters

value System.String requiredposition: 0