[This is preliminary documentation and is subject to change.]

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

Namespace: Tools.WindowsT.IndependentT
Assembly: Tools.Windows (in Tools.Windows.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public static MessageBoxResult ShowWPF(
	string messageBoxText,
	string caption
)
Visual Basic
<EditorBrowsableAttribute(EditorBrowsableState.Never)> _
Public Shared Function ShowWPF ( _
	messageBoxText As String, _
	caption As String _
) As MessageBoxResult
Visual C++
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
public:
static MessageBoxResult ShowWPF(
	String^ messageBoxText, 
	String^ caption
)
F#
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
static member ShowWPF : 
        messageBoxText:string * 
        caption:string -> MessageBoxResult 
JScript
public static function ShowWPF(
	messageBoxText : String, 
	caption : String
) : MessageBoxResult

Parameters

messageBoxText
Type: System..::..String
A String that specifies the text to display.
caption
Type: System..::..String
A String that specifies the title bar caption to display.

Return Value

A MessageBoxResult value that specifies which message box button is clicked by the user.

Remarks

This function is provided for compatibility with MessageBox

See Also