Xceed Toolkit Plus for WPF v4.6 Documentation
ShowMessageBox(String,String,MessageBoxButton) Method


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit Namespace > MessageBox Class > ShowMessageBox Method : ShowMessageBox(String,String,MessageBoxButton) Method
Displays this message box when embedded in a WindowContainer parent using the specified message, caption, and button.
Syntax
'Declaration
 
Public Overloads Sub ShowMessageBox( _

   ByVal messageText As String, _

   ByVal caption As String, _

   ByVal button As MessageBoxButton _

) 
'Usage
 
Dim instance As MessageBox

Dim messageText As String

Dim caption As String

Dim button As MessageBoxButton

 

instance.ShowMessageBox(messageText, caption, button)
public void ShowMessageBox( 

   string messageText,

   string caption,

   MessageBoxButton button

)

Parameters

messageText
caption
button
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
Overload List