HtmlForgeX

API Reference

Class

TabsSettings

Namespace HtmlForgeX
Assembly HtmlForgeX

Settings sub‑builder for TablerTabs.

Inheritance

  • Object
  • TabsSettings

Methods

public TabsSettings Alignment(TabsAlignment alignment) #
Returns: TabsSettings

Sets the navigation alignment.

Parameters

alignment HtmlForgeX.TabsAlignment requiredposition: 0
Alignment to apply.
public TabsSettings AnimationStyle(TabsAnimationStyle style) #
Returns: TabsSettings

Sets animation style for segmented tabs.

Parameters

style HtmlForgeX.TabsAnimationStyle requiredposition: 0
Animation style.
public TabsSettings ContentClass(String cssClass) #
Returns: TabsSettings

Adds a custom CSS class to the content column in vertical layouts.

Parameters

cssClass System.String requiredposition: 0
Class names.
public TabsSettings CornerStyle(TabsCornerStyle style) #
Returns: TabsSettings

Sets corner rounding for segmented tabs.

Parameters

style HtmlForgeX.TabsCornerStyle requiredposition: 0
Corner style.
public TablerTabs End() #
Returns: TablerTabs

Returns control to the root tabs builder.

public TabsSettings HideNavigationWhenSingleTab(Boolean enable = true) #
Returns: TabsSettings

Hides tab navigation when there is only one panel.

Parameters

enable System.Boolean = true optionalposition: 0
Enable/disable hiding.
public TabsSettings NavAtBottom(Boolean enable = true) #
Returns: TabsSettings

Renders the navigation after content (bottom position) for horizontal layouts.

Parameters

enable System.Boolean = true optionalposition: 0
Enable nav at bottom.
public TabsSettings NavClass(String cssClass) #
Returns: TabsSettings

Adds a custom CSS class to the nav container.

Parameters

cssClass System.String requiredposition: 0
Class names.
public TabsSettings Navigation(TabNavigation navigation) #
Returns: TabsSettings

Sets the navigation style for the tabs.

Parameters

navigation HtmlForgeX.TabNavigation requiredposition: 0
Navigation mode.
public TabsSettings NavMaxHeight(String cssMaxHeight) #
Returns: TabsSettings

Sets the max-height for vertical navigation (implies scrolling when exceeded).

Parameters

cssMaxHeight System.String requiredposition: 0
CSS max-height value, e.g. "24rem".
public TabsSettings NavScrollable(Boolean enable = true) #
Returns: TabsSettings

Enables scrollable navigation for long tab lists.

Parameters

enable System.Boolean = true optionalposition: 0
Enable scrolling.
public TabsSettings NavStyle(TabsNavStyle style) #
Returns: TabsSettings

Sets the navigation visual style (tabs, pills, underline, segmented).

Parameters

style HtmlForgeX.TabsNavStyle requiredposition: 0
Navigation style.
public TabsSettings NavWidth(String cssMinWidth) #
Returns: TabsSettings

Sets a minimum width for vertical navigation.

Parameters

cssMinWidth System.String requiredposition: 0
CSS width value, e.g. "14rem".
public TabsSettings NoHashNavigation(Boolean enable = true) #
Returns: TabsSettings

When enabled, tab triggers render as buttons instead of anchor links to avoid URL hash changes and scroll jumps.

Parameters

enable System.Boolean = true optionalposition: 0
Enable no-hash navigation.
public TabsSettings Orientation(TabsOrientation orientation) #
Returns: TabsSettings

Sets the tabs layout orientation (horizontal or vertical).

Parameters

orientation HtmlForgeX.TabsOrientation requiredposition: 0
Orientation to apply.
public TabsSettings OrientationResponsive(TabsOrientation orientation, TablerBreakpoint breakpoint) #
Returns: TabsSettings

Sets a responsive orientation that activates at the specified breakpoint.

Parameters

orientation HtmlForgeX.TabsOrientation requiredposition: 0
Orientation to apply at the breakpoint and above.
breakpoint HtmlForgeX.TablerBreakpoint requiredposition: 1
Bootstrap breakpoint for the switch.
public TabsSettings PersistSelection(Boolean enable = true, Boolean showReset = true, String storageKey = null, Nullable<TabsPersistKeyMode> keyMode = null) #
Returns: TabsSettings

Persist the last selected tab and optionally render a reset affordance. Uses the HtmlForgeX storage helper to fall back to sessionStorage/history when localStorage is unavailable (e.g., file:// reports).

Parameters

enable System.Boolean = true optionalposition: 0
Enable persistence.
showReset System.Boolean = true optionalposition: 1
Show a small reset button next to the tabs.
storageKey System.String = null optionalposition: 2
Optional custom key (defaults to component id or stable auto key).
keyMode System.Nullable{HtmlForgeX.TabsPersistKeyMode} = null optionalposition: 3
Optional key generation mode when no storage key is provided.
public TabsSettings PillsCornerStyle(TabsCornerStyle style) #
Returns: TabsSettings

Sets corner rounding for boxed pill tabs (uses the same corner presets as segmented tabs).

Parameters

style HtmlForgeX.TabsCornerStyle requiredposition: 0
Corner style preset.
public TabsSettings PillsDensity(TabsPillsDensity density) #
Returns: TabsSettings

Sets density presets for boxed pill tabs (padding + gaps).

Parameters

density HtmlForgeX.TabsPillsDensity requiredposition: 0
Density preset.
PillsFillMinWidth 2 overloads
public TabsSettings PillsFillMinWidth(TabsPillsFillMinWidth preset) #
Returns: TabsSettings

Sets the minimum width preset used by boxed pill tabs when nav-fill/nav-justified is enabled.

Parameters

preset HtmlForgeX.TabsPillsFillMinWidth requiredposition: 0
Minimum width preset.
public TabsSettings PillsFillMinWidth(String cssLength) #
Returns: TabsSettings

Sets the minimum width CSS length used by boxed pill tabs when nav-fill/nav-justified is enabled.

Parameters

cssLength System.String requiredposition: 0
CSS length, e.g. "8.5rem" or "clamp(7rem, 10vw, 10rem)".
public TabsSettings PillsStyle(TabsPillsStyle style) #
Returns: TabsSettings

Sets the visual variant for Pills navigation.

Parameters

style HtmlForgeX.TabsPillsStyle requiredposition: 0
Pills style variant.
public TabsSettings PillsTitleLines(Int32 maxLines) #
Returns: TabsSettings

Controls how many lines the title can occupy for boxed pill tabs. Values greater than 1 reduce truncation at the cost of taller tab rows.

Parameters

maxLines System.Int32 requiredposition: 0
Max title lines (1..3).
public TabsSettings SegmentedMode(TabsSegmentedMode mode) #
Returns: TabsSettings

Sets segmented layout behavior (full tabs or compact switcher).

Parameters

mode HtmlForgeX.TabsSegmentedMode requiredposition: 0
Segmented mode.
public TabsSettings Surface(TablerSurfaceStyle style) #
Returns: TabsSettings

Applies a shared surface treatment to the tabs card shell.

Parameters

style HtmlForgeX.TablerSurfaceStyle requiredposition: 0
public TabsSettings Transition(TabsTransition transition) #
Returns: TabsSettings

Enables Bootstrap fade transition for tab panels.

Parameters

transition HtmlForgeX.TabsTransition requiredposition: 0
Transition style.
public TabsSettings VerticalGap(TablerSpacing spacing) #
Returns: TabsSettings

Sets the horizontal gap between vertical navigation and content.

Parameters

spacing HtmlForgeX.TablerSpacing requiredposition: 0
Gap scale (0..5). Auto is not supported.