API Reference
TablerThemeSelectorSettings
Settings sub-builder for TablerThemeSelector.
Inheritance
- Object
- TablerThemeSelectorSettings
Methods
public TablerThemeSelectorSettings AccessibilityHeader(String text) #TablerThemeSelectorSettingsSets the accessibility section header text.
Parameters
- text System.String
public TablerThemeSelectorSettings AccessibilityLabels(String none, String highContrast, String colorBlind, String combined) #TablerThemeSelectorSettingsSets the accessibility option labels (default, high-contrast, color-blind, combined).
Parameters
- none System.String
- highContrast System.String
- colorBlind System.String
- combined System.String
public TablerThemeSelectorSettings AccessibilityStorageKey(String key) #TablerThemeSelectorSettingsSets the localStorage key for accessibility persistence.
Parameters
- key System.String
public TablerThemeSelectorSettings Method(TablerDarkModeMethod method) #TablerThemeSelectorSettingsSets the theme switching method.
Parameters
- method HtmlForgeX.TablerDarkModeMethod
public TablerThemeSelectorSettings RenderAsButton(Boolean enable = true) #TablerThemeSelectorSettingsRenders the selector as an icon button dropdown (useful in page header actions).
Parameters
- enable System.Boolean = true
public TablerThemeSelectorSettings ShowAccessibility(Boolean show = true) #TablerThemeSelectorSettingsShows the accessibility section (high-contrast, color-blind).
Parameters
- show System.Boolean = true
public TablerThemeSelectorSettings ShowAccessibilityColorBlind(Boolean show = true) #TablerThemeSelectorSettingsShows the "Color-blind safe" accessibility option.
Parameters
- show System.Boolean = true
public TablerThemeSelectorSettings ShowAccessibilityCombined(Boolean show = true) #TablerThemeSelectorSettingsShows the combined accessibility option (high-contrast + color-blind).
Parameters
- show System.Boolean = true
public TablerThemeSelectorSettings ShowAccessibilityDefault(Boolean show = true) #TablerThemeSelectorSettingsShows the "Default" accessibility option.
Parameters
- show System.Boolean = true
public TablerThemeSelectorSettings ShowAccessibilityHighContrast(Boolean show = true) #TablerThemeSelectorSettingsShows the "High contrast" accessibility option.
Parameters
- show System.Boolean = true
public TablerThemeSelectorSettings ShowAuto(Boolean show = true) #TablerThemeSelectorSettingsShows the Auto (system) option.
Parameters
- show System.Boolean = true
public TablerThemeSelectorSettings ShowDark(Boolean show = true) #TablerThemeSelectorSettingsShows the Dark option.
Parameters
- show System.Boolean = true
public TablerThemeSelectorSettings ShowDarkBlack(Boolean show = true) #TablerThemeSelectorSettingsShows the "dark-black" variant option.
Parameters
- show System.Boolean = true
public TablerThemeSelectorSettings ShowDarkCarbon(Boolean show = true) #TablerThemeSelectorSettingsShows the "dark-carbon" variant option.
Parameters
- show System.Boolean = true
public TablerThemeSelectorSettings ShowLight(Boolean show = true) #TablerThemeSelectorSettingsShows the Light option.
Parameters
- show System.Boolean = true
public TablerThemeSelectorSettings ShowOnMobile(Boolean show = true) #TablerThemeSelectorSettingsShows the selector on mobile layouts.
Parameters
- show System.Boolean = true
public TablerThemeSelectorSettings ShowThemeVariants(Boolean show = true) #TablerThemeSelectorSettingsShows all dark variant options (dark-black, dark-carbon).
Parameters
- show System.Boolean = true
public TablerThemeSelectorSettings ShowTooltip(Boolean show = true) #TablerThemeSelectorSettingsShows or hides tooltips.
Parameters
- show System.Boolean = true
public TablerThemeSelectorSettings StorageKey(String key) #TablerThemeSelectorSettingsSets the localStorage key for theme persistence.
Parameters
- key System.String
public TablerThemeSelectorSettings Tooltip(String tooltip) #TablerThemeSelectorSettingsSets the tooltip text for the dropdown button.
Parameters
- tooltip System.String