Wisej.Web.MessageBoxIcon
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.1.0.0)
Specifies the type of icon to display in the MessageBox or AlertBox.
Name | Description |
---|---|
Name | Description |
---|---|
Error
The message box contains an icon consisting of an X or an exclamation point typically on a red background to symbolize an error condition.
Hand
The message box contains an icon consisting of a raised hand.
Information
The message box contains an icon consisting of the letter i in a circle
None
No icon is shown in the message box.
Question
The message box contains an icon consisting of a question mark in a circle.
Stop
The message box contains an icon consisting of a stop sign.
Warning
The message box contains an icon consisting of an exclamation point in a triangle to symbolize a warning sign.
Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button.
Asynchronously displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button.
Displays an alert box with the specified text and icon in the specified position.
Plays one of the built-in sounds
Wisej.Web.AlertBox
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.1.0.0)
Displays an alert box that can contain an icon and text that inform and instruct the user. Alert boxes are not modal and can disappear automatically.
Displays an alert box with the specified text and icon in the specified position.
Parameter | Type | Description |
---|---|---|
Name | Description |
---|---|
All wisej components implement this interface.
Allows an object to serialize itself.
text
The text to display in the message box. Newlines (CRLF) are converted to <BR/> when the text doesn't contain any html.
icon
One of the MessageBoxIcon values that specifies which icon to display in the message box.
showCloseButton
Shows or hides the close button. If not set it's managed automatically.
alignment
One of the ContentAlignment values that specifies where on the screen to display the alert box.
autoCloseDelay
A value in milliseconds that determines the delay after which the alert box disappears automatically. The default is 5000 (5 seconds). If set to 0 the box stays open.
onclose
Optional async handler for the close event; called when the Alert Box is closed either automatically or by the user.
showProgressBar
Shows a progress bar to display the time remaining until the alert box is automatically closed. If left null, it's managed by the theme.
allowHtml
Allows the message text to include HTML code.