MessageBox
Displays a modal message box, also known as a dialog box, that can contain text, buttons, and symbols that inform and instruct the user.
The Wisej.NET MessageBox
cannot be instantiated directly. Display messages by calling the static MessageBox.Show
method, which accepts parameters for title, message, buttons, and icon configuration.
Features
Styles
The MessageBox
supports several alert styles:
None
: No icon displayedError
: Red X or exclamation point indicating an errorStop
: Stop sign iconHand
: Raised hand iconQuestion
: Question mark in circleWarning
: Exclamation point in triangleInformation
: Letter i in circle

HTML Content
Enable HTML content in messages by setting the allowHtml
parameter to true
:
MessageBox.Show(@"<ul>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>", allowHtml: true);

Advanced
JavaScript Widget
Item
Description
Last updated
Was this helpful?