Skip to main content
Version: 3.5

MessageBoxButtons

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Specifies constants defining which buttons to display on a MessageBox.

public enum MessageBoxButtons : Enum

Fields

NameDescription
AbortRetryIgnoreThe message box contains Abort, Retry, and Ignore buttons.
CancelThe message box contains a Cancel button.
NoThe message box contains a No button.
OKThe message box contains an OK button.
OKCancelThe message box contains OK and Cancel buttons.
RetryCancelThe message box contains Retry and Cancel buttons.
YesThe message box contains a Yes button.
YesNoThe message box contains Yes and No buttons.
YesNoCancelThe message box contains Yes, No, and Cancel buttons.

Used By

NameDescription
MessageBox.ShowDisplays a message box with the specified text, caption, buttons, icon, default button, options, and Help button.
MessageBox.ShowAsyncAsynchronously displays a message box with the specified text, caption, buttons, icon, default button, options, and Help button.