Class MBToastServiceConfiguration
Inheritance
MBToastServiceConfiguration
Assembly: Material.Blazor.dll
Syntax
public class MBToastServiceConfiguration
Constructors
|
Improve this Doc
View Source
MBToastServiceConfiguration()
Declaration
public MBToastServiceConfiguration()
Fields
|
Improve this Doc
View Source
Declaration
public const string DefaultCloseButtonIcon = "close"
Field Value
|
Improve this Doc
View Source
DefaultCloseMethod
Declaration
public const MBNotifierCloseMethod DefaultCloseMethod = MBNotifierCloseMethod.TimeoutAndDismissButton
Field Value
|
Improve this Doc
View Source
DefaultErrorIconName
Declaration
public const string DefaultErrorIconName = "error_outline"
Field Value
|
Improve this Doc
View Source
DefaultInfoIconName
Declaration
public const string DefaultInfoIconName = "notifications"
Field Value
|
Improve this Doc
View Source
DefaultPosition
Declaration
public const MBToastPosition DefaultPosition = MBToastPosition.BottomRight
Field Value
|
Improve this Doc
View Source
DefaultShowIcons
Declaration
public const bool DefaultShowIcons = true
Field Value
|
Improve this Doc
View Source
DefaultSuccessIconName
Declaration
public const string DefaultSuccessIconName = "done"
Field Value
|
Improve this Doc
View Source
DefaultTimeout
Declaration
public const int DefaultTimeout = 3000
Field Value
|
Improve this Doc
View Source
DefaultWarningIconName
Declaration
public const string DefaultWarningIconName = "warning"
Field Value
Properties
|
Improve this Doc
View Source
Declaration
public string CloseButtonIcon { get; set; }
Property Value
|
Improve this Doc
View Source
CloseMethod
Declaration
public MBNotifierCloseMethod CloseMethod { get; set; }
Property Value
|
Improve this Doc
View Source
ErrorDefaultHeading
Default heading for an Error toast.
Declaration
public string ErrorDefaultHeading { get; set; }
Property Value
|
Improve this Doc
View Source
ErrorIconName
Declaration
public string ErrorIconName { get; set; }
Property Value
|
Improve this Doc
View Source
IconFoundry
Declaration
public IMBIconFoundry IconFoundry { get; set; }
Property Value
|
Improve this Doc
View Source
InfoDefaultHeading
Default heading for an Info toast.
Declaration
public string InfoDefaultHeading { get; set; }
Property Value
|
Improve this Doc
View Source
InfoIconName
Declaration
public string InfoIconName { get; set; }
Property Value
|
Improve this Doc
View Source
MaxToastsShowing
The maximum number of toasts that can be simultaneously shown. Further toasts are queued until others have been closed. Zero or negative means there is no limit.
Declaration
public int MaxToastsShowing { get; set; }
Property Value
|
Improve this Doc
View Source
Position
Sets the toast's position.
Declaration
public MBToastPosition Position { get; set; }
Property Value
|
Improve this Doc
View Source
ShowIcons
Determines whether default toasts show an icon.
Declaration
public bool ShowIcons { get; set; }
Property Value
|
Improve this Doc
View Source
SuccessDefaultHeading
Default heading for an Success toast.
Declaration
public string SuccessDefaultHeading { get; set; }
Property Value
|
Improve this Doc
View Source
SuccessIconName
Icon for an Success toast.
Declaration
public string SuccessIconName { get; set; }
Property Value
|
Improve this Doc
View Source
Timeout
Timeout in milliseconds until the toast automatically closes. Defaults to 3000 and ignored if CloseMethod is DismissButton.
Declaration
public uint Timeout { get; set; }
Property Value
|
Improve this Doc
View Source
WarningDefaultHeading
Default heading for an waWrning toast.
Declaration
public string WarningDefaultHeading { get; set; }
Property Value
|
Improve this Doc
View Source
WarningIconName
Icon for an warning toast.
Declaration
public string WarningIconName { get; set; }
Property Value