Toast
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.
warning
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.
info
For a full list of properties, methods and events see the API documentation.
Features
Delayed Closing
The AutoCloseDelay property controls notification display duration.

HTML Content
Enable HTML content by setting the AllowHtml property to true:
-5366c5f88e2c9deb36d0a7f836e89a41.png)
- C#
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 |
|---|---|
| Class name | "wisej.web.Toast" |
| Theme appearance | "toast", see Themes |
| Source code | https://github.com/iceteagroup/wisej-js |