Displays a message box that has a message, title bar caption and button; 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,
	C1MessageBoxButton button,
	Action<MessageBoxResult> callback
)
Visual Basic
Public Shared Sub Show ( _
	message As String, _
	caption As String, _
	button As C1MessageBoxButton, _
	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.
button
Type: C1.Silverlight..::..C1MessageBoxButton
A C1MessageBoxButton value that specifies which buttons to display.
callback
Type: System..::..Action<(Of <(<'MessageBoxResult>)>)>
An Action<(Of <(<'T>)>)> which is called with the result of the message box.

See Also