Table of Contents

Enum MessageBoxDialogButtons

Namespace
VisioForge.Core.Types
Assembly
VisioForge.Core.dll

Specifies constants defining the buttons to display on a message box. This enumeration is used to control the user's interaction options within a dialog.

public enum MessageBoxDialogButtons

Fields

AbortRetryIgnore = 2

Displays a message box with Abort, Retry, and Ignore buttons.

CancelTryContinue = 6

Displays a message box with Cancel, Try Again, and Continue buttons.

OK = 0

Displays a message box with an OK button only.

OKCancel = 1

Displays a message box with OK and Cancel buttons.

RetryCancel = 5

Displays a message box with Retry and Cancel buttons.

YesNo = 4

Displays a message box with Yes and No buttons.

YesNoCancel = 3

Displays a message box with Yes, No, and Cancel buttons.

Remarks

These values are typically passed to methods that display message boxes, allowing the application to customize the available responses from the user. The enumeration values mirror the standard Windows MessageBox button combinations. Different button combinations are appropriate for different scenarios: OK for simple notifications, Yes/No for binary choices, OK/Cancel for confirmable actions. The numeric values match the Windows API constants for compatibility. When displaying a message box, the chosen button set should match the type of question or information being presented to the user.