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.

For a full list of properties, methods and events see the API documentation.

Features

Delayed Closing

The AutoCloseDelay property controls notification display duration.

Toast notification with custom auto-close delay

HTML Content

Enable HTML content by setting the AllowHtml property to true:

Toast displaying HTML formatted content
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

Last updated

Was this helpful?