Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Wisej.Web.MessageBoxButtons
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Specifies constants defining which buttons to display on a MessageBox.
Name | Description |
---|---|
Name | Description |
---|---|
Wisej.Web.MessageBoxIcon
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Specifies the type of icon to display in the MessageBox or AlertBox.
Name | Description |
---|---|
Name | Description |
---|---|
Wisej.Web.AlertBox
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.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 |
---|
Wisej.Web.Toast
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Displays a toast that can contain an icon and text.
A toast is a small widget that displays a simple message and an icon above all other controls on the web page. Multiple toasts can appear at the same time and at different locations on the screen. By default, the toast will automatically close after the milliseconds. When a toast is closed and the property is true, it is automatically disposed and cannot be reused. Otherwise it is reusable and it's application's responsibility to dispose it when no longer needed.
Creates and initializes a new instance of the class using the specified arguments.
Name | Type | Description |
---|
Newlines (CRLF) are converted to <BR/> when allowHtml is false, or when allowHtml is true and the text doesn't contain any html.
Hides the toast.
Shows the toast.
Name | Description |
---|
: Returns or sets the location where to display the toast. The default is
: Returns or sets a value indicating that the control can display HTML in the Text property.
: Returns or sets the auto close delay in milliseconds. The default is 5000 (5 seconds).
: Return or sets a flag indicating whether the toast is automatically disposed when closed. The default is false.
: Returns or sets the background color for the toast.
: Returns or sets the text color of the toast.
: Returns or sets the icon name or URL to display in the toast.
: Returns or sets the text to display in the toast.
Returns: .
Occurs when the user clicks the toast.
Occurs when the toast is closed.
Name | Description |
---|
AbortRetryIgnore
The message box contains Abort, Retry, and Ignore buttons.
Cancel
The message box contains a Cancel button.
No
The message box contains a No button.
OK
The message box contains an OK button.
OKCancel
The message box contains OK and Cancel buttons.
RetryCancel
The message box contains Retry and Cancel buttons.
Yes
The message box contains a Yes button.
YesNo
The message box contains Yes and No buttons.
YesNoCancel
The message box contains Yes, No, and Cancel buttons.
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.
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
All wisej components implement this interface. |
Allows an object to serialize itself. |
All wisej components implement this interface. |
Allows an object to serialize itself. |
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 |
text | The text to display in the message box. Newlines (CRLF) are converted to <BR/> when the text doesn't contain any html. |
Shows or hides the close button. If not set it's managed automatically. |
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. |
Optional async handler for the close event; called when the Alert Box is closed either automatically or by the user. |
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. |
Allows the message text to include HTML code. |
text | The text to display in the message box. Newlines (CRLF) are converted to <BR/> when the text doesn't contain any HTML. |
icon | An icon name or URL. |
Button1 | The first button on the message box is the default button. |
Button2 | The second button on the message box is the default button. |
Button3 | The third button on the message box is the default button. |
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. |
Wisej.Web.MessageBox
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Displays a message box that can contain text, buttons, and symbols that inform and instruct the user.
Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button.
Parameter | Type | Description |
---|---|---|
Returns: DialogResult. One of the DialogResult values.
Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button.
Returns: DialogResult. One of the DialogResult values.
Asynchronously displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button.
Returns: Task<DialogResult>. One of the DialogResult values.
Asynchronously displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button.
Returns: Task<DialogResult>. One of the DialogResult values.
icon
One of the values that specifies which icon to display in the message box.
showCloseButton
alignment
One of the values that specifies where on the screen to display the alert box.
autoCloseDelay
onclose
showProgressBar
allowHtml
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Name | Description |
---|---|
All wisej components implement this interface.
Allows an object to serialize itself.
owner
An implementation of Form that owns the modal dialog box.
text
The text to display in the message box. Newlines (CRLF) are converted to <BR/> when the text doesn't contain any html.
The text to display in the title bar of the message box.
One of the MessageBoxButtons values that specifies which buttons to display in the message box.
One of the MessageBoxIcon values that specifies which icon to display in the message box.
One of the MessageBoxDefaultButton values that specifies the default button for the message box.
Indicates whether the dialog box is modal and waits for the user response before resuming execution. When set to false, the return valid is always DialogResult.None. The default is true - modal.
Allows the message text to include HTML code.
Keeps the message box in the viewable area when being moved by the user. The default is false.
Indicates whether the dialog box should display it's content right aligned.
Optional async handler for the close event; called when the MessageBox has been closed.
text
The text to display in the message box. Newlines (CRLF) are converted to <BR/> when the text doesn't contain any html.
The text to display in the title bar of the message box.
One of the MessageBoxButtons values that specifies which buttons to display in the message box.
One of the MessageBoxIcon values that specifies which icon to display in the message box.
One of the MessageBoxDefaultButton values that specifies the default button for the message box.
Indicates whether the dialog box is modal and waits for the user response before resuming execution. When set to false, the return valid is always DialogResult.None. The default is true - modal.
Allows the message text to include HTML code.
Keeps the message box in the viewable area when being moved by the user. The default is false.
Indicates whether the dialog box should display it's content right aligned.
owner
An implementation of Form that owns the modal dialog box.
text
The text to display in the message box. Newlines (CRLF) are converted to <BR/> when the text doesn't contain any html.
The text to display in the title bar of the message box.
One of the MessageBoxButtons values that specifies which buttons to display in the message box.
One of the MessageBoxIcon values that specifies which icon to display in the message box.
One of the MessageBoxDefaultButton values that specifies the default button for the message box.
Indicates whether the dialog box is modal and waits for the user response before resuming execution. When set to false, the return valid is always DialogResult.None. The default is true - modal.
Allows the message text to include HTML code.
Keeps the message box in the viewable area when being moved by the user. The default is false.
Indicates whether the dialog box should display it's content right aligned.
text
The text to display in the message box. Newlines (CRLF) are converted to <BR/> when the text doesn't contain any html.
The text to display in the title bar of the message box.
One of the MessageBoxButtons values that specifies which buttons to display in the message box.
One of the MessageBoxIcon values that specifies which icon to display in the message box.
One of the MessageBoxDefaultButton values that specifies the default button for the message box.
Indicates whether the message box is modal and waits for the user response before resuming execution. When set to false, the return valid is always DialogResult.None. The default is true - modal.
Allows the message text to include HTML code.
Keeps the message box in the viewable area when being moved by the user. The default is false.
Indicates whether the dialog box should display it's content right aligned.
Optional async handler for the close event; called when the MessageBox has been closed.
caption
buttons
icon
defaultButton
modal
allowHtml
keepOnScreen
rightToLeft
onclose
caption
buttons
icon
defaultButton
modal
allowHtml
keepOnScreen
rightToLeft
caption
buttons
icon
defaultButton
modal
allowHtml
keepOnScreen
rightToLeft
caption
buttons
icon
defaultButton
modal
allowHtml
keepOnScreen
rightToLeft
onclose