[This is preliminary documentation and is subject to change.]

Enumeration of built-in icons for MessageBox

Namespace: Tools.WindowsT.IndependentT
Assembly: 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 nameValueDescription
Asterisk1By default represented by a yellow bulb
Error2By default represented by white X in red circle
Exclamation3By default represented by black exclamation mark (!) in yellow triangle
Hand4By default represented by white hand in red circle
Information5By default represented by white lowercase i in blue circle
Question6By default represented by white question mark (?) in blue circle
Stop7By default represented by default represented by no-entry (one way) traffic sign
Warning8By default represented by black exclamation mark (!) in yellow circle
OK9By default represented by white check mark (✔) in green circle
SecurityError18By default represented by white X in red shield
SecurityInformation21By default represented by shield with for fields - red, green, blue and yellow
SecurityWarning24By default represented by black exclamation mark (!) in yellow shield
SecurityOK25By default represented by white check mark (✔) in green shield
SecurityQuestion22By default represented by black quastion mark (?) in yellow shield
None0Represents no icon
IsFlagsGets value indicating if given value is of enum type which has FlagsAttribute applied
GetNameGets name of given enumeration value
GetConstantGets constant field that represents given enum value
GetValueGets value of enum in its unedlying type
IsDefinedGets 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

See Also