# DialogResult

URL: https://docs.wisej.com/api/wisej.web/enumerations/wisej.web.dialogresult

Version: 4.1
Namespace: **Wisej.Web**

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

Specifies the return value of a dialog box.

- C# - VB.NET

```csharp
public enum DialogResult : Enum
```

```visual
Public Enum DialogResult As [Enum]
```

## Fields

| Name | Description | **Abort** | The dialog box return value is Abort (usually sent from a button labeled Abort). | **Cancel** | The dialog box return value is Cancel (usually sent from a button labeled Cancel). | **Ignore** | The dialog box return value is Ignore (usually sent from a button labeled Ignore). | **No** | The dialog box return value is No (usually sent from a button labeled No). | **None** | Nothing is returned from the dialog box. | **OK** | The dialog box return value is OK (usually sent from a button labeled OK). | **Retry** | The dialog box return value is Retry (usually sent from a button labeled Retry). | **Yes** | The dialog box return value is Yes (usually sent from a button labeled Yes). 

## Used By

| Name | Description | [CommonDialog.ShowDialog](/api/wisej.web/common-dialogs/wisej.web.commondialog#showdialog) | Runs a common dialog box with a default owner. | [Button.DialogResult](/api/wisej.web/buttons/button/#dialogresult) | Returns or sets a value that is returned to the parent form when the button is clicked. | [Form.DialogResult](/api/wisej.web/containers/form/#dialogresult) | Returns or sets the dialog result for the form. | [Form.ShowDialog](/api/wisej.web/containers/form/#showdialog-onclose) | Shows the form as a modal dialog box. When the *onclose* is specified, the dialog is modal only in the browser. | [Label.DialogResult](/api/wisej.web/content/wisej.web.label#dialogresult) | Returns or sets a value that is returned to the parent form when the button is clicked. | [MessageBox.Show](/api/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. | [PictureBox.DialogResult](/api/wisej.web/content/wisej.web.picturebox#dialogresult) | Returns or sets a value that is returned to the parent form when the button is clicked. | [IButtonControl.DialogResult](/api/wisej.web/interfaces/wisej.web.ibuttoncontrol#dialogresult) | Returns or sets the value returned to the parent form when the button is clicked. | [IButtonControlExtensions.DialogResult](/api/wisej.web.markup/extensions/wisej.web.markup.ibuttoncontrolextensions#dialogresult-buttoncontrol-dialogresult) | Sets the DialogResult property of the specified [IButtonControl](/api/wisej.web/interfaces/wisej.web.ibuttoncontrol) . | [IWisejEditorService.ShowDialog](/api/wisej.core/interfaces/wisej.core.iwisejeditorservice#showdialog-dialog) | Shows the specifiedForm and returns its [DialogResult](/api/wisej.web/containers/form/#dialogresult) when the user closes it.
