MessageBoxImage Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the icon that is displayed by a message box.
public enum class MessageBoxImage
public enum MessageBoxImage
type MessageBoxImage =
Public Enum MessageBoxImage
- Inheritance
Fields
Asterisk | 64 | The message box contains a symbol consisting of a lowercase letter i in a circle. |
Error | 16 | The message box contains a symbol consisting of white X in a circle with a red background. |
Exclamation | 48 | The message box contains a symbol consisting of an exclamation point in a triangle with a yellow background. |
Hand | 16 | The message box contains a symbol consisting of a white X in a circle with a red background. |
Information | 64 | The message box contains a symbol consisting of a lowercase letter i in a circle. |
None | 0 | The message box contains no symbols. |
Question | 32 | The message box contains a symbol consisting of a question mark in a circle. The question mark message icon is no longer recommended because it does not clearly represent a specific type of message and because the phrasing of a message as a question could apply to any message type. In addition, users can confuse the question mark symbol with a help information symbol. Therefore, do not use this question mark symbol in your message boxes. The system continues to support its inclusion only for backward compatibility. |
Stop | 16 | The message box contains a symbol consisting of white X in a circle with a red background. |
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.
Icon | Name |
---|---|
Hand | |
Question | |
Exclamation | |
Asterisk | |
Stop | |
Error | |
Warning | |
Information |
For a sample that demonstrates several options when using the MessageBox, see MessageBox Sample.
Applies to
See also
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기