|
|
Msg
|
[FlagsAttribute] public enum MsgBoxStyle
| Member name | Value | Description |
|---|---|---|
| OKOnly | 0 | OK Button. |
| DefaultButton1 | 0 | First button is default. |
| ApplicationModal | 0 | Application modal message box. |
| OKCancel | 1 | OK and Cancel buttons. |
| AbortRetryIgnore | 2 | Abort,Retry, and Ignore buttons. |
| YesNoCancel | 3 | Yes, No, and Cancel buttons. |
| YesNo | 4 | Yes and No buttons. |
| RetryCancel | 5 | Retry and Cancel buttons. |
| Critical | 16 | Critical message. |
| Question | 32 | Warning query. |
| Exclamation | 48 | Warning message. |
| Information | 64 | Information message. |
| DefaultButton2 | 256 | Second button is default. |
| DefaultButton3 | 512 | Third button is default. |
| DefaultButton4 | 768 | Fourth button is default. |
| SystemModal | 4,096 | System modal message box. |
The MsgBoxStyle type exposes the following members.
| Name | Description | |
|---|---|---|
| GetDescription |
Retrieves the description of the value that this Enum represents extracted from the DescriptionAttribute, or the enumeration name
if no description is available.
(Defined by EnumExtensions) | |
| GetFormattedName |
Retrieves a formatted name of the value that this Enum represents for visual display.
(Defined by EnumExtensions) |