HtmlForgeX

API Reference

Class

TablerTabsPanel

Namespace HtmlForgeX
Assembly HtmlForgeX

Represents a single panel within a TablerTabs component.

Inheritance

Constructors

Methods

public TablerTabsPanel Active(Boolean isActive = true) #
Returns: TablerTabsPanel

Set the panel to be active, while allowing to use the non-default value

Parameters

isActive System.Boolean = true optionalposition: 0
public TablerTabsPanel Disabled() #
Returns: TablerTabsPanel

Set the panel to be disabled

public TablerTabsPanel Key(String key) #
Returns: TablerTabsPanel
EditorBrowsable(2)

Sets a stable key used for persistence and deep-linking within this tab set. The key is sanitized for storage; provide short, unique values for best stability.

Parameters

key System.String requiredposition: 0
public TablerTabsPanel MoveTabs(TabState state) #
Returns: TablerTabsPanel

Move the tabs to a specific state

Parameters

state HtmlForgeX.TabState requiredposition: 0
public TablerTabsPanel Title(String title) #
Returns: TablerTabsPanel

Initializes or configures Title.

Parameters

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

Initializes or configures ToString.

public TablerTabsPanel WithBadge(String text, Nullable<TablerBadgeColor> color = null) #
Returns: TablerTabsPanel

Adds a small badge to the tab header (e.g., counts).

Parameters

text System.String requiredposition: 0
color System.Nullable{HtmlForgeX.TablerBadgeColor} = null optionalposition: 1
public TablerTabsPanel WithIcon(TablerIconType icon, Nullable<TablerColor> color = null) #
Returns: TablerTabsPanel

Assign an icon to display next to the tab title.

Parameters

icon HtmlForgeX.TablerIconType requiredposition: 0
color System.Nullable{HtmlForgeX.TablerColor} = null optionalposition: 1

Extension Methods

public static TablerTabsPanel PanelSection(TablerTabsPanel panel, String key, Action<HfxPanelSection> configure) #
Returns: TablerTabsPanel

Adds a panel section with a stable key to the tab panel.

Parameters

panel HtmlForgeX.TablerTabsPanel requiredposition: 0
key System.String requiredposition: 1
configure System.Action{HtmlForgeX.HfxPanelSection} requiredposition: 2