[This is preliminary documentation and is subject to change.]
Enumeration of built-in icons for MessageBox
Namespace: Tools.WindowsT.IndependentTAssembly: Tools.Windows (in Tools.Windows.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
public enum MessageBoxIcons |
| Visual Basic |
|---|
Public Enumeration MessageBoxIcons |
| Visual C++ |
|---|
public enum class MessageBoxIcons |
| F# |
|---|
type MessageBoxIcons |
| JScript |
|---|
public enum MessageBoxIcons |
Members
| Member name | Value | Description | |
|---|---|---|---|
| Asterisk | 1 | By default represented by a yellow bulb | |
| Error | 2 | By default represented by white X in red circle | |
| Exclamation | 3 | By default represented by black exclamation mark (!) in yellow triangle | |
| Hand | 4 | By default represented by white hand in red circle | |
| Information | 5 | By default represented by white lowercase i in blue circle | |
| Question | 6 | By default represented by white question mark (?) in blue circle | |
| Stop | 7 | By default represented by default represented by no-entry (one way) traffic sign | |
| Warning | 8 | By default represented by black exclamation mark (!) in yellow circle | |
| OK | 9 | By default represented by white check mark (✔) in green circle | |
| SecurityError | 18 | By default represented by white X in red shield | |
| SecurityInformation | 21 | By default represented by shield with for fields - red, green, blue and yellow | |
| SecurityWarning | 24 | By default represented by black exclamation mark (!) in yellow shield | |
| SecurityOK | 25 | By default represented by white check mark (✔) in green shield | |
| SecurityQuestion | 22 | By default represented by black quastion mark (?) in yellow shield | |
| None | 0 | Represents no icon | |
| IsFlags | Gets value indicating if given value is of enum type which has FlagsAttribute applied | ||
| GetName | Gets name of given enumeration value | ||
| GetConstant | Gets constant field that represents given enum value | ||
| GetValue | Gets value of enum in its unedlying type | ||
| IsDefined | Gets value idicating if given value is defined as constant in enumeration |
Remarks
The MessageBox API allows you to pass any Image as your own icon