Table of Contents

Class TwRadioButtonTheme

Namespace
TwBlazor.Configuration.Components
Assembly
TwBlazor.dll

Theme configuration for radio button components (TwRadioButton<T>), including checked-state colors and the structural classes for the input, label, and radio dot icon.

[ExcludeFromCodeCoverage]
public class TwRadioButtonTheme
Inheritance
TwRadioButtonTheme
Inherited Members

Constructors

TwRadioButtonTheme()

public TwRadioButtonTheme()

Properties

Base

Gets or sets the base classes applied to the native radio input.

public required string Base { get; set; }

Property Value

string

Colors

Gets or sets the color palette applied to radio buttons.

public required TwBlazorPalette Colors { get; set; }

Property Value

TwBlazorPalette

Disabled

Gets or sets the classes applied to a disabled radio input.

public required string Disabled { get; set; }

Property Value

string

Hover

Gets or sets the hover classes applied to an enabled radio input.

public required string Hover { get; set; }

Property Value

string

IconWrapper

Gets or sets the classes for the radio dot icon wrapper shown when the radio button is checked.

public required string IconWrapper { get; set; }

Property Value

string

LabelBase

Gets or sets the base classes applied to the radio button's label wrapper.

public required string LabelBase { get; set; }

Property Value

string

LabelDisabled

Gets or sets the classes applied to the label when the radio button is disabled.

public required string LabelDisabled { get; set; }

Property Value

string

LabelInteractiveCursor

Gets or sets the cursor class applied to the label when the radio button is interactive.

public required string LabelInteractiveCursor { get; set; }

Property Value

string

LabelNonInteractiveCursor

Gets or sets the cursor class applied to the label when the radio button is read-only or disabled.

public required string LabelNonInteractiveCursor { get; set; }

Property Value

string