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
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
SummaryLink
Gets or sets the classes for an error in the summary that links to its field.
public required string SummaryLink { get; set; }
Property Value
SummaryList
Gets or sets the classes for the list of errors in the summary.
public required string SummaryList { get; set; }
Property Value
SummaryTitle
Gets or sets the classes for the error summary's heading.
public required string SummaryTitle { get; set; }