ESRI.ArcGIS.Mobile.Client
ShowDialog(Window,String,String,MessageBoxButton,MessageBoxImage) Method
See Also  Send Feedback
ESRI.ArcGIS.Mobile.Client.Windows Namespace > MessageBox Class > ShowDialog Method : ShowDialog(Window,String,String,MessageBoxButton,MessageBoxImage) Method

owner
Parent window of the message box window.
messageBoxText
The message to display.
caption
The window caption.
button
Type of buttons to display.
image
Type of image to display.
Displays a message box.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function ShowDialog( _
   ByVal owner As Window, _
   ByVal messageBoxText As String, _
   ByVal caption As String, _
   ByVal button As MessageBoxButton, _
   ByVal image As MessageBoxImage _
) As MessageBoxResult
C# 
public static MessageBoxResult ShowDialog( 
   Window owner,
   string messageBoxText,
   string caption,
   MessageBoxButton button,
   MessageBoxImage image
)

Parameters

owner
Parent window of the message box window.
messageBoxText
The message to display.
caption
The window caption.
button
Type of buttons to display.
image
Type of image to display.

Return Value

Message box result.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also