Class MBToastServiceConfiguration
Configuration for IMBToastService.
public class MBToastServiceConfiguration
- Inheritance
-
MBToastServiceConfiguration
- Inherited Members
Constructors
MBToastServiceConfiguration()
public MBToastServiceConfiguration()
Fields
DefaultCloseButtonIcon
public const string DefaultCloseButtonIcon = "close"
Field Value
DefaultCloseMethod
public const MBNotifierCloseMethod DefaultCloseMethod = TimeoutAndDismissButton
Field Value
DefaultErrorIconName
public const string DefaultErrorIconName = "error_outline"
Field Value
DefaultInfoIconName
public const string DefaultInfoIconName = "notifications"
Field Value
DefaultPosition
public const MBToastPosition DefaultPosition = BottomRight
Field Value
DefaultShowIcons
public const bool DefaultShowIcons = true
Field Value
DefaultSuccessIconName
public const string DefaultSuccessIconName = "done"
Field Value
DefaultTimeout
public const int DefaultTimeout = 3000
Field Value
DefaultWarningIconName
public const string DefaultWarningIconName = "warning"
Field Value
Properties
CloseButtonIcon
The close icon. Defaults to DefaultCloseButtonIcon ("close").
public string CloseButtonIcon { get; set; }
Property Value
CloseMethod
Determines how the toast closes. Defaults to TimeoutAndDismissButton.
public MBNotifierCloseMethod CloseMethod { get; set; }
Property Value
ErrorDefaultHeading
Default heading for an Error toast.
public string ErrorDefaultHeading { get; set; }
Property Value
ErrorIconName
Icon for an Error toast.
public string ErrorIconName { get; set; }
Property Value
IconFoundry
Toast icon foundry.
public IMBIconFoundry IconFoundry { get; set; }
Property Value
InfoDefaultHeading
Default heading for an Info toast.
public string InfoDefaultHeading { get; set; }
Property Value
InfoIconName
Icon for an Info toast.
public string InfoIconName { get; set; }
Property Value
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.
public int MaxToastsShowing { get; set; }
Property Value
Position
Sets the toast's position.
public MBToastPosition Position { get; set; }
Property Value
ShowIcons
Determines whether default toasts show an icon.
public bool ShowIcons { get; set; }
Property Value
SuccessDefaultHeading
Default heading for an Success toast.
public string SuccessDefaultHeading { get; set; }
Property Value
SuccessIconName
Icon for an Success toast.
public string SuccessIconName { get; set; }
Property Value
Timeout
Timeout in milliseconds until the toast automatically closes. Defaults to 3000 and ignored if CloseMethod is DismissButton.
public uint Timeout { get; set; }
Property Value
WarningDefaultHeading
Default heading for an waWrning toast.
public string WarningDefaultHeading { get; set; }
Property Value
WarningIconName
Icon for an warning toast.
public string WarningIconName { get; set; }