API Reference
Class
SmartTabSettings
Settings sub‑builder for SmartTab to keep the root API small.
Inheritance
- Object
- SmartTabSettings
Methods
public SmartTabSettings AutoAdjustHeight(Boolean enabled = true) #Returns:
SmartTabSettingsAdjusts panel height automatically to content.
Parameters
- enabled System.Boolean = true
- True to auto adjust.
public SmartTabSettings BackButton(Boolean enabled = true) #Returns:
SmartTabSettingsEnables or disables browser back button support (via URL hash changes).
Parameters
- enabled System.Boolean = true
public SmartTabSettings CardHeaderLook(Boolean enable = true) #Returns:
SmartTabSettingsGives the navigation a card header appearance.
Parameters
- enable System.Boolean = true
- True to enable card header look.
public SmartTabSettings CssVar(String name, String value) #Returns:
SmartTabSettingsDefines a CSS variable for the component.
Parameters
- name System.String
- Variable name.
- value System.String
- Variable value.
public SmartTabSettings Justified(Boolean justified = true) #Returns:
SmartTabSettingsStretches tabs to equal widths.
Parameters
- justified System.Boolean = true
- True to justify tabs.
public SmartTabSettings PersistSelected(String key = null) #Returns:
SmartTabSettingsRemembers the last selected tab using local storage.
Parameters
- key System.String = null
- Optional storage key.
public SmartTabSettings ReportMode(Boolean enable = true) #Returns:
SmartTabSettingsApplies 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
public SmartTabSettings SelectedTab(Int32 index) #Returns:
SmartTabSettingsSelects a tab by index.
Parameters
- index System.Int32
- Zero-based index.
public SmartTabSettings Theme(SmartTabTheme theme) #Returns:
SmartTabSettingsApplies a built-in theme.
Parameters
- theme HtmlForgeX.SmartTabTheme
- 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:
SmartTabSettingsCustomizes theme colors.
Parameters
- activePrimary System.String = null
- Active primary color.
- activeSecondary System.String = null
- Active secondary color.
- defaultPrimary System.String = null
- Default primary color.
- defaultSecondary System.String = null
- Default secondary color.
- borderColor System.String = null
- Border color.
- background System.String = null
- Background color.
public SmartTabSettings UrlHash(Boolean enabled = true) #Returns:
SmartTabSettingsEnables or disables URL hash navigation for tab selection.
Parameters
- enabled System.Boolean = true