Displays a message box that has a message and title bar caption; and calls back with the result.

Namespace:  C1.Silverlight
Assembly:  C1.Silverlight (in C1.Silverlight.dll)

Syntax

C#
public static void Show(
	string message,
	string caption,
	Action<MessageBoxResult> callback
)
Visual Basic
Public Shared Sub Show ( _
	message As String, _
	caption As String, _
	callback As Action(Of MessageBoxResult) _
)

Parameters

message
Type: System..::..String
The text to display as a message.
caption
Type: System..::..String
The title bar caption.
callback
Type: System..::..Action<(Of <(<'MessageBoxResult>)>)>
An Action<(Of <(<'T>)>)> which is called with the result of the message box.

See Also