HtmlForgeX

API Reference

Class

SmartTabSettings

Namespace HtmlForgeX
Assembly HtmlForgeX

Settings sub‑builder for SmartTab to keep the root API small.

Inheritance

  • Object
  • SmartTabSettings

Methods

public SmartTabSettings AutoAdjustHeight(Boolean enabled = true) #
Returns: SmartTabSettings

Adjusts panel height automatically to content.

Parameters

enabled System.Boolean = true optionalposition: 0
True to auto adjust.
public SmartTabSettings BackButton(Boolean enabled = true) #
Returns: SmartTabSettings

Enables or disables browser back button support (via URL hash changes).

Parameters

enabled System.Boolean = true optionalposition: 0
public SmartTabSettings CardHeaderLook(Boolean enable = true) #
Returns: SmartTabSettings

Gives the navigation a card header appearance.

Parameters

enable System.Boolean = true optionalposition: 0
True to enable card header look.
public SmartTabSettings CssVar(String name, String value) #
Returns: SmartTabSettings

Defines a CSS variable for the component.

Parameters

name System.String requiredposition: 0
Variable name.
value System.String requiredposition: 1
Variable value.
public SmartTab End() #
Returns: SmartTab

Returns the root SmartTab to continue chaining.

public SmartTabSettings Justified(Boolean justified = true) #
Returns: SmartTabSettings

Stretches tabs to equal widths.

Parameters

justified System.Boolean = true optionalposition: 0
True to justify tabs.
public SmartTabSettings KeyboardNavigation(Boolean enabled = true) #
Returns: SmartTabSettings

Enables or disables keyboard navigation.

Parameters

enabled System.Boolean = true optionalposition: 0
public SmartTabSettings NavAtBottom(Boolean enable = true) #
Returns: SmartTabSettings

Moves navigation tabs to the bottom.

Parameters

enable System.Boolean = true optionalposition: 0
True to move navigation.
public SmartTabSettings NavStyle(SmartTabNavStyle style) #
Returns: SmartTabSettings

Sets the navigation style.

Parameters

style HtmlForgeX.SmartTabNavStyle requiredposition: 0
Navigation style.
public SmartTabSettings NavWidth(String cssMinWidth) #
Returns: SmartTabSettings

Sets a minimum width for the navigation column.

Parameters

cssMinWidth System.String requiredposition: 0
CSS width value.
public SmartTabSettings PersistSelected(String key = null) #
Returns: SmartTabSettings

Remembers the last selected tab using local storage.

Parameters

key System.String = null optionalposition: 0
Optional storage key.
public SmartTabSettings ReportMode(Boolean enable = true) #
Returns: SmartTabSettings

Applies defaults optimized for large, generated reports where many SmartTabs may exist on a page. Disables URL hash sync/back-button support and keyboard navigation and uses natural height.

Parameters

enable System.Boolean = true optionalposition: 0
public SmartTabSettings SelectedTab(Int32 index) #
Returns: SmartTabSettings

Selects a tab by index.

Parameters

index System.Int32 requiredposition: 0
Zero-based index.
public SmartTabSettings Theme(SmartTabTheme theme) #
Returns: SmartTabSettings

Applies a built-in theme.

Parameters

theme HtmlForgeX.SmartTabTheme requiredposition: 0
Theme to apply.
public SmartTabSettings ThemeColors(String activePrimary = null, String activeSecondary = null, String defaultPrimary = null, String defaultSecondary = null, String borderColor = null, String background = null) #
Returns: SmartTabSettings

Customizes theme colors.

Parameters

activePrimary System.String = null optionalposition: 0
Active primary color.
activeSecondary System.String = null optionalposition: 1
Active secondary color.
defaultPrimary System.String = null optionalposition: 2
Default primary color.
defaultSecondary System.String = null optionalposition: 3
Default secondary color.
borderColor System.String = null optionalposition: 4
Border color.
background System.String = null optionalposition: 5
Background color.
public SmartTabSettings UrlHash(Boolean enabled = true) #
Returns: SmartTabSettings

Enables or disables URL hash navigation for tab selection.

Parameters

enabled System.Boolean = true optionalposition: 0