Displays a prompt box that has a message, title bar caption, content with a default value, and calls back with the user input.
Namespace:
C1.SilverlightAssembly: C1.Silverlight (in C1.Silverlight.dll)
Syntax
C# |
---|
public static void Show( string message, string caption, string defaultValue, Action<string, MessageBoxResult> callback ) |
Visual Basic |
---|
Public Shared Sub Show ( _ message As String, _ caption As String, _ defaultValue As String, _ callback As Action(Of String, MessageBoxResult) _ ) |
Parameters
- message
- Type: System..::..String
The text to display as a message.
- caption
- Type: System..::..String
The title bar caption.
- defaultValue
- Type: System..::..String
The default value of content.
- callback
- Type: System..::..Action<(Of <(<'String, MessageBoxResult>)>)>
An Action<(Of <(<'T>)>)> which is called with the user input.