Class TwTabTheme
- Namespace
- TwBlazor.Configuration.Components
- Assembly
- TwBlazor.dll
Theme configuration for the tabs components (TwTabContainer, TwTab). Override any property to customize tab styles globally.
[ExcludeFromCodeCoverage]
public class TwTabTheme
- Inheritance
-
TwTabTheme
- Inherited Members
Constructors
TwTabTheme()
public TwTabTheme()
Properties
ActiveIndicator
Gets or sets the classes applied to the currently active, enabled tab's underline indicator.
public required string ActiveIndicator { get; set; }
Property Value
Background
Gets or sets the background classes applied to both the tablist and panel containers, unless TransparentContainer is set.
public required string Background { get; set; }
Property Value
DisabledTab
Gets or sets the classes applied to a disabled tab.
public required string DisabledTab { get; set; }
Property Value
InactiveIndicator
Gets or sets the classes applied to an inactive, enabled tab, including its hover text color and the hover-revealed underline indicator.
public required string InactiveIndicator { get; set; }
Property Value
PanelContainer
Gets or sets the classes for the tab panel container that wraps the active tab's content.
public required string PanelContainer { get; set; }
Property Value
TabBase
Gets or sets the base classes applied to every tab, regardless of state.
public required string TabBase { get; set; }
Property Value
TabDensePadding
Gets or sets the padding classes for a tab when the container's Dense mode is enabled.
public required string TabDensePadding { get; set; }
Property Value
TabListContainer
Gets or sets the classes for the tablist container that wraps the tab buttons.
public required string TabListContainer { get; set; }
Property Value
TabPadding
Gets or sets the padding classes for a tab when the container's Dense mode is disabled.
public required string TabPadding { get; set; }