Xceed Toolkit Plus for WPF v4.6 Documentation
ShowMessageBox Method


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit Namespace > MessageBox Class : ShowMessageBox Method
Displays this message box when embedded in a WindowContainer parent.
Overload List
OverloadDescription
Displays this message box when embedded in a WindowContainer parent.  
Displays this message box when embedded in a WindowContainer parent using the specified message text.  
Displays this message box when embedded in a WindowContainer parent using the specified message and caption.  
Displays this message box when embedded in a WindowContainer parent using the specified message, caption, and button.  
Displays this message box when embedded in a WindowContainer parent using the specified message, caption, button, and icon.  
Displays this message box when embedded in a WindowContainer parent using the specified message, caption, button, icon, and default message box result.  
Remarks

Note that this call is not blocking and that you must register to the Closed event in order to handle the dialog result, if any.

Also, this method is not intended to be called while displaying a MessageBox outside of a WindowContainer. Use ShowDialog instead in that case. A MessageBox instance is not intended to be displayed in a container other than a WindowContainer.

Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

MessageBox Class
MessageBox Members