HtmlForgeX

API Reference

Class

TablerMetricCardSettings

Namespace HtmlForgeX
Assembly HtmlForgeX
Modifiers sealed

Settings sub-builder for TablerMetricCard.

Inheritance

  • Object
  • TablerMetricCardSettings

Usage

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

Accepted by parameters

Methods

public TablerMetricCardSettings Accent(TablerColor color) #
Returns: TablerMetricCardSettings

Sets the accent color used by the metric card.

Parameters

color HtmlForgeX.TablerColor requiredposition: 0
public TablerMetricCardSettings ChartColor(TablerColor color) #
Returns: TablerMetricCardSettings

Overrides the inline chart color.

Parameters

color HtmlForgeX.TablerColor requiredposition: 0
public TablerMetricCardSettings ChartHeight(Int32 pixels) #
Returns: TablerMetricCardSettings

Sets the chart height in pixels when an inline chart is present.

Parameters

pixels System.Int32 requiredposition: 0
public TablerMetricCard End() #
Returns: TablerMetricCard

Returns control to the root metric card.

public TablerMetricCardSettings FillHeight(Boolean enable = true) #
Returns: TablerMetricCardSettings

Makes the card stretch to the available height in grid layouts.

Parameters

enable System.Boolean = true optionalposition: 0
HeaderInfo 2 overloads
public TablerMetricCardSettings HeaderInfo(String text, String title = null, TablerPopoverPlacement placement = Auto, TablerPopoverTrigger trigger = ClickOnly, TablerInfoPopoverVisualStyle visualStyle = Subtle) #
Returns: TablerMetricCardSettings

Adds a compact click-only info affordance to the card header.

Parameters

text System.String requiredposition: 0
title System.String = null optionalposition: 1
placement HtmlForgeX.TablerPopoverPlacement = Auto optionalposition: 2
trigger HtmlForgeX.TablerPopoverTrigger = ClickOnly optionalposition: 3
visualStyle HtmlForgeX.TablerInfoPopoverVisualStyle = Subtle optionalposition: 4
public TablerMetricCardSettings HeaderInfo(Action<TablerInfoPopover> configure) #
Returns: TablerMetricCardSettings

Adds a fully configured header info affordance.

Parameters

configure System.Action{HtmlForgeX.TablerInfoPopover} requiredposition: 0
public TablerMetricCardSettings NaturalCaseLabels(Boolean enable = true) #
Returns: TablerMetricCardSettings

Uses natural-case labels instead of forced uppercase eyebrow text.

Parameters

enable System.Boolean = true optionalposition: 0