ToastOptions Properties
Defines options for a toast notification.Name | Description |
---|---|
Click | Fires when a user clicks the toast notification. |
CssClass | Assigns a CSS class to the toast notification. |
DisplayTime | Specifies how long the toast is visible. |
FreezeOnClick | Specifies whether to turn off auto-hide for the toast after it has been clicked. |
IconCssClass | Specifies the name of the CSS class applied to the toast notification icon. |
Id | Specifies the toast’s unique identifier. |
MaxHeight | Limits the maximum height of the toast notification. |
ProviderName | The name of a provider that will display the notification. |
RenderStyle | Specifies the toast’s predefined style. |
ShowCloseButton | Specifies whether the toast displays the Close button. |
ShowIcon | Specifies whether to show an icon in the toast notification. |
SizeMode | Specifies the size of the component and its content. |
Text | Specifies the toast’s text. |
ThemeMode | Specifies the toast’s predefined color filling mode. |
Title | Specifies the toast notification title. |
See Also