ErrorSummaryBase
Base class for rendering a Summary Error
Assembly: ServiceStack.Blazor.dll
View Source
public class ErrorSummaryBase : ApiComponentBase
Properties
Except
Do not show Field Error Messages for specified visible fields which will display them
View Source
public string[] Except { get; set; }
UseExcept
View Source
protected string[] UseExcept { get; }
Inherited Properties
CascadingStatus
The ResponseStatus injected by CascadingValue
View Source
public ResponseStatus? CascadingStatus { get; set; }
ExplicitStatus
Assign ResponseStatus to component and ignore CascadingStatus injected by CascadingValue
View Source
public ResponseStatus? ExplicitStatus { get; set; }
IgnoreCascadingStatus
Whether to ignore CascadingStatus
View Source
protected bool IgnoreCascadingStatus { get; set; }
IsError
If the ResponseStatus assigned to this component is in an Error State
View Source
protected bool IsError { get; }
Status
Directly assing a Response Status to this component
View Source
public ResponseStatus? Status { get; set; }
UseStatus
The ResponseStatus assinged to this compontent
View Source
protected ResponseStatus? UseStatus { get; }
Inherited Methods
CssClass(String, String)
Return any user-defined classes along with optional classes for when component is in a valid
or invalid
state
View Source
protected override string CssClass(string valid = null, string invalid = null)
Returns
System.String
Parameters
Type | Name | Description |
---|---|---|
System.String | valid | css classes to include when valid |
|
| System.String
| invalid | css classes to include when invalid
|
StateClasses(String, String)
Helper to return classes for when component is in a valid
or invalid
state
View Source
protected virtual string StateClasses(string valid = null, string invalid = null)
Returns
System.String
Parameters
Type | Name | Description |
---|---|---|
System.String | valid | css classes to include when valid |
|
| System.String
| invalid | css classes to include when invalid
|