HtmlForgeX

API Reference

Class

TablerEntityRecord

Namespace HtmlForgeX
Assembly HtmlForgeX

Shared entity record model that can be rendered as an entity list row, collection card, or collection-table row.

Inheritance

  • Object
  • TablerEntityRecord

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

Methods

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

Adds a primary action that can be replayed across supported collection views.

Parameters

text System.String requiredposition: 0
href System.String requiredposition: 1
configure System.Action{HtmlForgeX.TablerButton} = null optionalposition: 2
public TablerEntityRecord Avatar(String imageUrl) #
Returns: TablerEntityRecord

Uses an avatar image for the leading slot.

Parameters

imageUrl System.String requiredposition: 0
public TablerEntityRecord Class(String className) #
Returns: TablerEntityRecord
EditorBrowsable(2)

Adds classes to the rendered surfaces.

Parameters

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

Sets a small overline/eyebrow label.

Parameters

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

Sets an optional navigation target.

Parameters

href System.String requiredposition: 0
public TablerEntityRecord Icon(TablerIconType icon, TablerColor accent = Azure) #
Returns: TablerEntityRecord

Uses an icon instead of an avatar.

Parameters

icon HtmlForgeX.TablerIconType requiredposition: 0
accent HtmlForgeX.TablerColor = Azure optionalposition: 1
public TablerEntityRecord Initials(String initials, TablerColor accent = Azure) #
Returns: TablerEntityRecord

Uses initials when no image exists.

Parameters

initials System.String requiredposition: 0
accent HtmlForgeX.TablerColor = Azure optionalposition: 1
public TablerEntityRecord MenuDivider() #
Returns: TablerEntityRecord

Adds a divider inside the shared secondary action menu.

public TablerEntityRecord MenuItem(String text, String href = null, Nullable<TablerIconType> icon = null) #
Returns: TablerEntityRecord

Adds a menu item for the shared secondary action menu.

Parameters

text System.String requiredposition: 0
href System.String = null optionalposition: 1
icon System.Nullable{HtmlForgeX.TablerIconType} = null optionalposition: 2
public TablerEntityRecord Meta(String text, Nullable<TablerColor> color = null) #
Returns: TablerEntityRecord

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 TablerEntityRecord Metric(String value, String note = null) #
Returns: TablerEntityRecord

Adds a headline metric with supporting note.

Parameters

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

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
public TablerEntityRecord Selected(Boolean selected = true) #
Returns: TablerEntityRecord

Marks the record as selected.

Parameters

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

Adds a compact status badge.

Parameters

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

Sets supporting descriptive copy.

Parameters

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

Sets the primary title.

Parameters

title System.String requiredposition: 0