HtmlForgeX

API Reference

Class

TablerThemeSelectorSettings

Namespace HtmlForgeX
Assembly HtmlForgeX

Settings sub-builder for TablerThemeSelector.

Inheritance

  • Object
  • TablerThemeSelectorSettings

Methods

public TablerThemeSelectorSettings AccessibilityHeader(String text) #
Returns: TablerThemeSelectorSettings

Sets the accessibility section header text.

Parameters

text System.String requiredposition: 0
public TablerThemeSelectorSettings AccessibilityLabels(String none, String highContrast, String colorBlind, String combined) #
Returns: TablerThemeSelectorSettings

Sets the accessibility option labels (default, high-contrast, color-blind, combined).

Parameters

none System.String requiredposition: 0
highContrast System.String requiredposition: 1
colorBlind System.String requiredposition: 2
combined System.String requiredposition: 3
public TablerThemeSelectorSettings AccessibilityStorageKey(String key) #
Returns: TablerThemeSelectorSettings

Sets the localStorage key for accessibility persistence.

Parameters

key System.String requiredposition: 0
public TablerThemeSelector End() #
Returns: TablerThemeSelector

Returns the root component.

public TablerThemeSelectorSettings Method(TablerDarkModeMethod method) #
Returns: TablerThemeSelectorSettings

Sets the theme switching method.

Parameters

method HtmlForgeX.TablerDarkModeMethod requiredposition: 0
public TablerThemeSelectorSettings RenderAsButton(Boolean enable = true) #
Returns: TablerThemeSelectorSettings

Renders the selector as an icon button dropdown (useful in page header actions).

Parameters

enable System.Boolean = true optionalposition: 0
public TablerThemeSelectorSettings ShowAccessibility(Boolean show = true) #
Returns: TablerThemeSelectorSettings

Shows the accessibility section (high-contrast, color-blind).

Parameters

show System.Boolean = true optionalposition: 0
public TablerThemeSelectorSettings ShowAccessibilityColorBlind(Boolean show = true) #
Returns: TablerThemeSelectorSettings

Shows the "Color-blind safe" accessibility option.

Parameters

show System.Boolean = true optionalposition: 0
public TablerThemeSelectorSettings ShowAccessibilityCombined(Boolean show = true) #
Returns: TablerThemeSelectorSettings

Shows the combined accessibility option (high-contrast + color-blind).

Parameters

show System.Boolean = true optionalposition: 0
public TablerThemeSelectorSettings ShowAccessibilityDefault(Boolean show = true) #
Returns: TablerThemeSelectorSettings

Shows the "Default" accessibility option.

Parameters

show System.Boolean = true optionalposition: 0
public TablerThemeSelectorSettings ShowAccessibilityHighContrast(Boolean show = true) #
Returns: TablerThemeSelectorSettings

Shows the "High contrast" accessibility option.

Parameters

show System.Boolean = true optionalposition: 0
public TablerThemeSelectorSettings ShowAuto(Boolean show = true) #
Returns: TablerThemeSelectorSettings

Shows the Auto (system) option.

Parameters

show System.Boolean = true optionalposition: 0
public TablerThemeSelectorSettings ShowDark(Boolean show = true) #
Returns: TablerThemeSelectorSettings

Shows the Dark option.

Parameters

show System.Boolean = true optionalposition: 0
public TablerThemeSelectorSettings ShowDarkBlack(Boolean show = true) #
Returns: TablerThemeSelectorSettings

Shows the "dark-black" variant option.

Parameters

show System.Boolean = true optionalposition: 0
public TablerThemeSelectorSettings ShowDarkCarbon(Boolean show = true) #
Returns: TablerThemeSelectorSettings

Shows the "dark-carbon" variant option.

Parameters

show System.Boolean = true optionalposition: 0
public TablerThemeSelectorSettings ShowLight(Boolean show = true) #
Returns: TablerThemeSelectorSettings

Shows the Light option.

Parameters

show System.Boolean = true optionalposition: 0
public TablerThemeSelectorSettings ShowOnMobile(Boolean show = true) #
Returns: TablerThemeSelectorSettings

Shows the selector on mobile layouts.

Parameters

show System.Boolean = true optionalposition: 0
public TablerThemeSelectorSettings ShowThemeVariants(Boolean show = true) #
Returns: TablerThemeSelectorSettings

Shows all dark variant options (dark-black, dark-carbon).

Parameters

show System.Boolean = true optionalposition: 0
public TablerThemeSelectorSettings ShowTooltip(Boolean show = true) #
Returns: TablerThemeSelectorSettings

Shows or hides tooltips.

Parameters

show System.Boolean = true optionalposition: 0
public TablerThemeSelectorSettings StorageKey(String key) #
Returns: TablerThemeSelectorSettings

Sets the localStorage key for theme persistence.

Parameters

key System.String requiredposition: 0
public TablerThemeSelectorSettings Tooltip(String tooltip) #
Returns: TablerThemeSelectorSettings

Sets the tooltip text for the dropdown button.

Parameters

tooltip System.String requiredposition: 0