MessageBoxImage MessageBoxImage MessageBoxImage MessageBoxImage Enum

Definition

Specifies the icon that is displayed by a message box.

public enum class MessageBoxImage
public enum MessageBoxImage
type MessageBoxImage = 
Public Enum MessageBoxImage
Inheritance
MessageBoxImageMessageBoxImageMessageBoxImageMessageBoxImage

Fields

Asterisk Asterisk Asterisk Asterisk 64

The message box contains a symbol consisting of a lowercase letter i in a circle.

Error Error Error Error 16

The message box contains a symbol consisting of white X in a circle with a red background.

Exclamation Exclamation Exclamation Exclamation 48

The message box contains a symbol consisting of an exclamation point in a triangle with a yellow background.

Hand Hand Hand Hand 16

The message box contains a symbol consisting of a white X in a circle with a red background.

Information Information Information Information 64

The message box contains a symbol consisting of a lowercase letter i in a circle.

None None None None 0

No icon is displayed.

Question Question Question Question 32

The message box contains a symbol consisting of a question mark in a circle.

Stop Stop Stop Stop 16

The message box contains a symbol consisting of white X in a circle with a red background.

Warning Warning Warning Warning 48

The message box contains a symbol consisting of an exclamation point in a triangle with a yellow background.

Remarks

The following table shows the different message box icons.

Hand icon Hand
Question icon Question
Exclamation icon Exclamation
Asterisk icon Asterisk
Stop icon Stop
Error icon Error
Warning icon Warning
Information icon Information

For a sample that demonstrates several options when using the MessageBox, see MessageBox Sample.

Applies to

See also