API Reference
Class
TablerMetricCardSettings
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.
Returned or exposed by
Accepted by parameters
- Method TablerMetricCard.Settings
Methods
public TablerMetricCardSettings Accent(TablerColor color) #Returns:
TablerMetricCardSettingsSets the accent color used by the metric card.
Parameters
- color HtmlForgeX.TablerColor
public TablerMetricCardSettings ChartColor(TablerColor color) #Returns:
TablerMetricCardSettingsOverrides the inline chart color.
Parameters
- color HtmlForgeX.TablerColor
public TablerMetricCardSettings ChartHeight(Int32 pixels) #Returns:
TablerMetricCardSettingsSets the chart height in pixels when an inline chart is present.
Parameters
- pixels System.Int32
public TablerMetricCardSettings FillHeight(Boolean enable = true) #Returns:
TablerMetricCardSettingsMakes the card stretch to the available height in grid layouts.
Parameters
- enable System.Boolean = true
HeaderInfo 2 overloads
public TablerMetricCardSettings HeaderInfo(String text, String title = null, TablerPopoverPlacement placement = Auto, TablerPopoverTrigger trigger = ClickOnly, TablerInfoPopoverVisualStyle visualStyle = Subtle) #Returns:
TablerMetricCardSettingsAdds a compact click-only info affordance to the card header.
Parameters
- text System.String
- title System.String = null
- placement HtmlForgeX.TablerPopoverPlacement = Auto
- trigger HtmlForgeX.TablerPopoverTrigger = ClickOnly
- visualStyle HtmlForgeX.TablerInfoPopoverVisualStyle = Subtle
public TablerMetricCardSettings HeaderInfo(Action<TablerInfoPopover> configure) #Returns:
TablerMetricCardSettingsAdds a fully configured header info affordance.
Parameters
- configure System.Action{HtmlForgeX.TablerInfoPopover}
public TablerMetricCardSettings NaturalCaseLabels(Boolean enable = true) #Returns:
TablerMetricCardSettingsUses natural-case labels instead of forced uppercase eyebrow text.
Parameters
- enable System.Boolean = true