API Reference
TabsSettings
Settings sub‑builder for TablerTabs.
Inheritance
- Object
- TabsSettings
Methods
public TabsSettings Alignment(TabsAlignment alignment) #TabsSettingsSets the navigation alignment.
Parameters
- alignment HtmlForgeX.TabsAlignment
- Alignment to apply.
public TabsSettings AnimationStyle(TabsAnimationStyle style) #TabsSettingsSets animation style for segmented tabs.
Parameters
- style HtmlForgeX.TabsAnimationStyle
- Animation style.
public TabsSettings ContentClass(String cssClass) #TabsSettingsAdds a custom CSS class to the content column in vertical layouts.
Parameters
- cssClass System.String
- Class names.
public TabsSettings CornerStyle(TabsCornerStyle style) #TabsSettingsSets corner rounding for segmented tabs.
Parameters
- style HtmlForgeX.TabsCornerStyle
- Corner style.
public TabsSettings Orientation(TabsOrientation orientation) #TabsSettingsSets the tabs layout orientation (horizontal or vertical).
Parameters
- orientation HtmlForgeX.TabsOrientation
- Orientation to apply.
public TabsSettings OrientationResponsive(TabsOrientation orientation, TablerBreakpoint breakpoint) #TabsSettingsSets a responsive orientation that activates at the specified breakpoint.
Parameters
- orientation HtmlForgeX.TabsOrientation
- Orientation to apply at the breakpoint and above.
- breakpoint HtmlForgeX.TablerBreakpoint
- Bootstrap breakpoint for the switch.
public TabsSettings PersistSelection(Boolean enable = true, Boolean showReset = true, String storageKey = null, Nullable<TabsPersistKeyMode> keyMode = null) #TabsSettingsPersist 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
- Enable persistence.
- showReset System.Boolean = true
- Show a small reset button next to the tabs.
- storageKey System.String = null
- Optional custom key (defaults to component id or stable auto key).
- keyMode System.Nullable{HtmlForgeX.TabsPersistKeyMode} = null
- Optional key generation mode when no storage key is provided.
public TabsSettings PillsCornerStyle(TabsCornerStyle style) #TabsSettingsSets corner rounding for boxed pill tabs (uses the same corner presets as segmented tabs).
Parameters
- style HtmlForgeX.TabsCornerStyle
- Corner style preset.
public TabsSettings PillsDensity(TabsPillsDensity density) #TabsSettingsSets density presets for boxed pill tabs (padding + gaps).
Parameters
- density HtmlForgeX.TabsPillsDensity
- Density preset.
public TabsSettings PillsFillMinWidth(TabsPillsFillMinWidth preset) #TabsSettingsSets the minimum width preset used by boxed pill tabs when nav-fill/nav-justified is enabled.
Parameters
- preset HtmlForgeX.TabsPillsFillMinWidth
- Minimum width preset.
public TabsSettings PillsFillMinWidth(String cssLength) #TabsSettingsSets the minimum width CSS length used by boxed pill tabs when nav-fill/nav-justified is enabled.
Parameters
- cssLength System.String
- CSS length, e.g. "8.5rem" or "clamp(7rem, 10vw, 10rem)".
public TabsSettings PillsStyle(TabsPillsStyle style) #TabsSettingsSets the visual variant for Pills navigation.
Parameters
- style HtmlForgeX.TabsPillsStyle
- Pills style variant.
public TabsSettings PillsTitleLines(Int32 maxLines) #TabsSettingsControls 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
- Max title lines (1..3).
public TabsSettings SegmentedMode(TabsSegmentedMode mode) #TabsSettingsSets segmented layout behavior (full tabs or compact switcher).
Parameters
- mode HtmlForgeX.TabsSegmentedMode
- Segmented mode.
public TabsSettings Surface(TablerSurfaceStyle style) #TabsSettingsApplies a shared surface treatment to the tabs card shell.
Parameters
- style HtmlForgeX.TablerSurfaceStyle
public TabsSettings Transition(TabsTransition transition) #TabsSettingsEnables Bootstrap fade transition for tab panels.
Parameters
- transition HtmlForgeX.TabsTransition
- Transition style.
public TabsSettings VerticalGap(TablerSpacing spacing) #TabsSettingsSets the horizontal gap between vertical navigation and content.
Parameters
- spacing HtmlForgeX.TablerSpacing
- Gap scale (0..5). Auto is not supported.