AlertSuccessBase
Assembly: ServiceStack.Blazor.dll
View Source
Declaration
public class AlertSuccessBase : ApiComponentBase
Properties
Message
View Source
Declaration
public string Message { get; set; }
ChildContent
View Source
Declaration
public RenderFragment? ChildContent { get; set; }
Inherited Properties
CascadingStatus
The ResponseStatus injected by CascadingValue
View Source
Declaration
public ResponseStatus? CascadingStatus { get; set; }
ExplicitStatus
Assign ResponseStatus to component and ignore CascadingStatus injected by CascadingValue
View Source
Declaration
public ResponseStatus? ExplicitStatus { get; set; }
IgnoreCascadingStatus
Whether to ignore CascadingStatus
View Source
Declaration
protected bool IgnoreCascadingStatus { get; set; }
IsError
If the ResponseStatus assigned to this component is in an Error State
View Source
Declaration
protected bool IsError { get; }
Status
Directly assing a Response Status to this component
View Source
Declaration
public ResponseStatus? Status { get; set; }
UseStatus
The ResponseStatus assinged to this compontent
View Source
Declaration
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
Declaration
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
Declaration
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
|