Class MBToastSettings
Settings for an individual toast notification determining all aspects controlling it's markup and behaviour. All parameters are optional with defaults defined in the MBToastServiceConfiguration that you define when creating the toast service.
public class MBToastSettings
- Inheritance
-
MBToastSettings
- Inherited Members
Constructors
MBToastSettings()
public MBToastSettings()
Properties
CloseMethod
How the toast message gets closed. See MBNotifierCloseMethod.
public MBNotifierCloseMethod? CloseMethod { get; set; }
Property Value
CssClass
CSS class to be applied to the toast message.
public string CssClass { get; set; }
Property Value
Heading
The heading - first line.
public string Heading { get; set; }
Property Value
IconFoundry
The foundry to use for both leading and trailing icons.
IconFoundry="IconHelper.MIIcon()"
IconFoundry="IconHelper.FAIcon()"
IconFoundry="IconHelper.OIIcon()"
public IMBIconFoundry? IconFoundry { get; set; }
Property Value
IconName
The icon's name.
public string IconName { get; set; }
Property Value
Message
The message - second line.
public string Message { get; set; }
Property Value
ShowIcon
Determines whether to show the icon to the left.
public bool? ShowIcon { get; set; }
Property Value
- bool?
Timeout
The toast's timeout in milliseconds.
public uint? Timeout { get; set; }
Property Value
- uint?