Table of Contents

Class TwFormTheme

Namespace
TwBlazor.Configuration.Components
Assembly
TwBlazor.dll

Theme configuration for the form component (TwForm) and its error summary. Override any property to customize form styles globally.

[ExcludeFromCodeCoverage]
public class TwFormTheme
Inheritance
TwFormTheme
Inherited Members

Constructors

TwFormTheme()

public TwFormTheme()

Properties

Base

Gets or sets the classes applied to the form element, such as the gap between its fields.

public required string Base { get; set; }

Property Value

string

Summary

Gets or sets the classes for the error summary box shown above the fields after a failed submit.

public required string Summary { get; set; }

Property Value

string

Gets or sets the classes for an error in the summary that links to its field.

public required string SummaryLink { get; set; }

Property Value

string

SummaryList

Gets or sets the classes for the list of errors in the summary.

public required string SummaryList { get; set; }

Property Value

string

SummaryTitle

Gets or sets the classes for the error summary's heading.

public required string SummaryTitle { get; set; }

Property Value

string