HtmlForgeX

API Reference

Class

TablerCollectionCardItem

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Element
Modifiers sealed

A single card item inside TablerCollectionCards.

Inheritance

Usage

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

Accepted by parameters

Constructors

public TablerCollectionCardItem() #

Methods

public TablerCollectionCardItem Action(String text, String href, Action<TablerButton> configure = null) #
Returns: TablerCollectionCardItem

Adds a trailing action button.

Parameters

text System.String requiredposition: 0
href System.String requiredposition: 1
configure System.Action{HtmlForgeX.TablerButton} = null optionalposition: 2
public TablerCollectionCardItem ActionMenu(Action<TablerDropdown> configure) #
Returns: TablerCollectionCardItem

Adds a quiet icon-only action menu for secondary card actions.

Parameters

configure System.Action{HtmlForgeX.TablerDropdown} requiredposition: 0
public TablerCollectionCardItem Actions(Action<ElementContainer> configure) #
Returns: TablerCollectionCardItem

Provides an escape hatch for custom trailing actions.

Parameters

configure System.Action{HtmlForgeX.ElementContainer} requiredposition: 0
public TablerCollectionCardItem Class(String className) #
Returns: TablerCollectionCardItem
EditorBrowsable(2)

Adds classes to the rendered card.

Parameters

className System.String requiredposition: 0
public TablerCollectionCardItem Eyebrow(String eyebrow) #
Returns: TablerCollectionCardItem

Sets a small overline/eyebrow label.

Parameters

eyebrow System.String requiredposition: 0
GetAuxiliaryChildren() #
public TablerCollectionCardItem Href(String href) #
Returns: TablerCollectionCardItem

Makes the title clickable.

Parameters

href System.String requiredposition: 0
public TablerCollectionCardItem Initials(String initials, TablerColor accent = Azure) #
Returns: TablerCollectionCardItem

Uses initials when no avatar image exists.

Parameters

initials System.String requiredposition: 0
accent HtmlForgeX.TablerColor = Azure optionalposition: 1
public TablerCollectionCardItem Meta(String text, Nullable<TablerColor> color = null) #
Returns: TablerCollectionCardItem

Adds small meta badges such as tags, regions, or capacities.

Parameters

text System.String requiredposition: 0
color System.Nullable{HtmlForgeX.TablerColor} = null optionalposition: 1
public TablerCollectionCardItem Metric(String value, String note = null) #
Returns: TablerCollectionCardItem

Adds a headline metric with supporting note.

Parameters

value System.String requiredposition: 0
note System.String = null optionalposition: 1
public TablerCollectionCardItem Progress(Int32 percent, TablerColor color = Azure, String label = null) #
Returns: TablerCollectionCardItem

Adds an optional progress row beneath the content.

Parameters

percent System.Int32 requiredposition: 0
color HtmlForgeX.TablerColor = Azure optionalposition: 1
label System.String = null optionalposition: 2
RegisterLibraries() #
public TablerCollectionCardItem Selected(Boolean selected = true) #
Returns: TablerCollectionCardItem

Marks the card as selected.

Parameters

selected System.Boolean = true optionalposition: 0
public TablerCollectionCardItem Status(String text, TablerColor color = Azure) #
Returns: TablerCollectionCardItem

Adds a compact status badge.

Parameters

text System.String requiredposition: 0
color HtmlForgeX.TablerColor = Azure optionalposition: 1
public TablerCollectionCardItem Subtitle(String subtitle) #
Returns: TablerCollectionCardItem

Sets supporting descriptive copy.

Parameters

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

Sets the primary card title.

Parameters

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