Table of Contents

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

string

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

string

DisabledTab

Gets or sets the classes applied to a disabled tab.

public required string DisabledTab { get; set; }

Property Value

string

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

string

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

string

TabBase

Gets or sets the base classes applied to every tab, regardless of state.

public required string TabBase { get; set; }

Property Value

string

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

string

TabListContainer

Gets or sets the classes for the tablist container that wraps the tab buttons.

public required string TabListContainer { get; set; }

Property Value

string

TabPadding

Gets or sets the padding classes for a tab when the container's Dense mode is disabled.

public required string TabPadding { get; set; }

Property Value

string