Toast
Displays an informational popup on the screen.
Last updated
Was this helpful?
Displays an informational popup on the screen.
Last updated
Was this helpful?
Unlike the static MessageBox
and AlertBox
, the Wisej.NET Toast
is an instantiable component that can be reused and updated while visible.
Position the Toast
in any of 9 standard locations (default: TopCenter
). It displays an icon and text content, with optional HTML support via the AllowHtml
property.
Toast
notifications auto-close after 5 seconds by default but don't auto-dispose. Enable AutoDispose
for automatic disposal on close. Handle the Click
event for user interactions and the Close
event for cleanup operations.
For a full list of properties, methods and events see the API documentation.
The AutoCloseDelay
property controls notification display duration.
Enable HTML content by setting the AllowHtml
property to true
:
Class name
"wisej.web.Toast"
Theme appearance
Source code
"toast", see