Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MessageBoxImage Enumeration

Updated: July 2010

Specifies the icon that is displayed by a message box.

Namespace:  System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

'Declaration
Public Enumeration MessageBoxImage
'Usage
Dim instance As MessageBoxImage
<object property="enumerationMemberName" .../>

Member nameDescription
NoneNo icon is displayed.
HandThe message box contains a symbol consisting of a white X in a circle with a red background.
QuestionThe message box contains a symbol consisting of a question mark in a circle.
ExclamationThe message box contains a symbol consisting of an exclamation point in a triangle with a yellow background.
AsteriskThe message box contains a symbol consisting of a lowercase letter i in a circle.
StopThe message box contains a symbol consisting of white X in a circle with a red background.
ErrorThe message box contains a symbol consisting of white X in a circle with a red background.
WarningThe message box contains a symbol consisting of an exclamation point in a triangle with a yellow background.
InformationThe message box contains a symbol consisting of a lowercase letter i in a circle.

For more information, see MessageBox Sample.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0

Date

History

Reason

July 2010

Updated member descriptions.

Customer feedback.

Community Additions

Show:
© 2017 Microsoft