Partager via


MessageBox.Show Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

Displays a message box to the user.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic memberSupported by Silverlight for Windows Phone Show(String) Displays a message box that contains the specified text and an OK button.
Public methodStatic member Show(Window, String) Displays a message box that contains the specified text and an OK button that is modal to the window specified by the owner parameter.
Public methodStatic memberSupported by Silverlight for Windows Phone Show(String, String, MessageBoxButton) Displays a message box that contains the specified text, title bar caption, and response buttons.
Public methodStatic member Show(Window, String, String, MessageBoxButton) Displays a message box that is modal to the window specified by the owner parameter.

Top