# MessageBoxIcon

Namespace: **Wisej.Web**

Assembly: **Wisej.Framework** (3.0.0.0)

Specifies the type of icon to display in the [MessageBox](https://docs.wisej.com/api/v3.0/wisej.web/notifications/messagebox) or [AlertBox](https://docs.wisej.com/api/v3.0/wisej.web/notifications/alertbox).

{% tabs %}
{% tab title="C#" %}

```csharp
public enum MessageBoxIcon : Enum
```

{% endtab %}

{% tab title="VB.NET" %}

```visual-basic
Public Enum MessageBoxIcon As [Enum]
```

{% endtab %}
{% endtabs %}

## Fields

| 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.                             |

## Used By

| Name                                                                                                                                                                                     | Description                                                                                                                      |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| [MessageBox.Show](https://docs.wisej.com/api/v3.0/wisej.web/notifications/messagebox/..#show-text-caption-buttons-icon-defaultbutton-modal-allowhtml-keeponscreen-righttoleft-onclose)   | Displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button.                |
| [MessageBox.ShowAsync](https://docs.wisej.com/api/v3.0/wisej.web/notifications/messagebox/..#showasync-text-caption-buttons-icon-defaultbutton-modal-allowhtml-keeponscreen-righttoleft) | Asynchronously displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button. |
| [AlertBox.Show](https://docs.wisej.com/api/v3.0/wisej.web/alertbox#show-text-icon-showclosebutton-alignment-autoclosedelay-onclose-showprogressbar-allowhtml)                            | Displays an alert box with the specified text and icon in the specified position.                                                |
| [Application.Play](https://docs.wisej.com/api/v3.0/general/application#play-type)                                                                                                        | Plays one of the built-in sounds                                                                                                 |
