Toast
Displays an informational popup on the screen.
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.
Features
Delayed Closing
The AutoCloseDelay
property controls notification display duration.

HTML Content
Enable HTML content by setting the AllowHtml
property to true
:

var toast = new Toast
{
AllowHtml = true,
Text = @"<ul>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>"
};
toast.Show();
Advanced
JavaScript Widget
Item
Description
Last updated
Was this helpful?