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.

MessageBox Methods

 

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

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticShow(String)

Displays a message box that has a message and that returns a result.

System_CAPS_pubmethodSystem_CAPS_staticShow(String, String)

Displays a message box that has a message and title bar caption; and that returns a result.

System_CAPS_pubmethodSystem_CAPS_staticShow(String, String, MessageBoxButton)

Displays a message box that has a message, title bar caption, and button; and that returns a result.

System_CAPS_pubmethodSystem_CAPS_staticShow(String, String, MessageBoxButton, MessageBoxImage)

Displays a message box that has a message, title bar caption, button, and icon; and that returns a result.

System_CAPS_pubmethodSystem_CAPS_staticShow(String, String, MessageBoxButton, MessageBoxImage, MessageBoxResult)

Displays a message box that has a message, title bar caption, button, and icon; and that accepts a default message box result and returns a result.

System_CAPS_pubmethodSystem_CAPS_staticShow(String, String, MessageBoxButton, MessageBoxImage, MessageBoxResult, MessageBoxOptions)

Displays a message box that has a message, title bar caption, button, and icon; and that accepts a default message box result, complies with the specified options, and returns a result.

System_CAPS_pubmethodSystem_CAPS_staticShow(Window, String)

Displays a message box in front of the specified window. The message box displays a message and returns a result.

System_CAPS_pubmethodSystem_CAPS_staticShow(Window, String, String)

Displays a message box in front of the specified window. The message box displays a message and title bar caption; and it returns a result.

System_CAPS_pubmethodSystem_CAPS_staticShow(Window, String, String, MessageBoxButton)

Displays a message box in front of the specified window. The message box displays a message, title bar caption, and button; and it also returns a result.

System_CAPS_pubmethodSystem_CAPS_staticShow(Window, String, String, MessageBoxButton, MessageBoxImage)

Displays a message box in front of the specified window. The message box displays a message, title bar caption, button, and icon; and it also returns a result.

System_CAPS_pubmethodSystem_CAPS_staticShow(Window, String, String, MessageBoxButton, MessageBoxImage, MessageBoxResult)

Displays a message box in front of the specified window. The message box displays a message, title bar caption, button, and icon; and accepts a default message box result and returns a result.

System_CAPS_pubmethodSystem_CAPS_staticShow(Window, String, String, MessageBoxButton, MessageBoxImage, MessageBoxResult, MessageBoxOptions)

Displays a message box in front of the specified window. The message box displays a message, title bar caption, button, and icon; and accepts a default message box result, complies with the specified options, and returns a result.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

Return to top
Show:
© 2017 Microsoft