API Reference
SmartTabSettings
Settings sub‑builder for SmartTab to keep the root API small.
Inheritance
- Object
- SmartTabSettings
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method SmartTabSettings.AutoAdjustHeight
- Method SmartTabSettings.BackButton
- Method SmartTabSettings.CardHeaderLook
- Method SmartTabSettings.ContainerClass
- Method SmartTabSettings.ContentClass
- Method SmartTabSettings.CssVar
- Method SmartTabSettings.Justified
- Method SmartTabSettings.KeyboardNavigation
- Method SmartTabSettings.NavAtBottom
- Method SmartTabSettings.NavClass
- Method SmartTabSettings.NavStyle
- Method SmartTabSettings.NavWidth
- Method SmartTabSettings.PersistSelected
- Method SmartTabSettings.ReportMode
- Method SmartTabSettings.SelectedTab
- Method SmartTabSettings.Theme
- Method SmartTabSettings.ThemeColors
- Method SmartTabSettings.UrlHash
Accepted by parameters
- Method SmartTab.Settings
Methods
public SmartTabSettings AutoAdjustHeight(Boolean enabled = true) #SmartTabSettingsAdjusts panel height automatically to content.
Parameters
- enabled System.Boolean = true
- True to auto adjust.
public SmartTabSettings BackButton(Boolean enabled = true) #SmartTabSettingsEnables or disables browser back button support (via URL hash changes).
Parameters
- enabled System.Boolean = true
public SmartTabSettings CardHeaderLook(Boolean enable = true) #SmartTabSettingsGives the navigation a card header appearance.
Parameters
- enable System.Boolean = true
- True to enable card header look.
public SmartTabSettings ContainerClass(String cssClass) #SmartTabSettingsEditorBrowsable(2)Adds a custom CSS class to the outer container.
Parameters
- cssClass System.String
- Class name.
public SmartTabSettings ContentClass(String cssClass) #SmartTabSettingsEditorBrowsable(2)Adds a custom CSS class to the content area.
Parameters
- cssClass System.String
- Class name.
public SmartTabSettings CssVar(String name, String value) #SmartTabSettingsEditorBrowsable(2)Defines a CSS variable for the component.
Parameters
- name System.String
- Variable name.
- value System.String
- Variable value.
public SmartTabSettings Justified(Boolean justified = true) #SmartTabSettingsStretches tabs to equal widths.
Parameters
- justified System.Boolean = true
- True to justify tabs.
public SmartTabSettings PersistSelected(String key = null) #SmartTabSettingsRemembers the last selected tab using local storage.
Parameters
- key System.String = null
- Optional storage key.
public SmartTabSettings ReportMode(Boolean enable = true) #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) #SmartTabSettingsSelects a tab by index.
Parameters
- index System.Int32
- Zero-based index.
public SmartTabSettings Theme(SmartTabTheme theme) #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) #SmartTabSettingsEditorBrowsable(2)Customizes 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) #SmartTabSettingsEnables or disables URL hash navigation for tab selection.
Parameters
- enabled System.Boolean = true