Displays a message box that has a message, title bar caption and icon; and calls back with the result.
Namespace:
C1.WPFAssembly: C1.WPF (in C1.WPF.dll)
Syntax
C# |
---|
public static void Show( string message, string caption, C1MessageBoxIcon icon, Action<MessageBoxResult> callback ) |
Visual Basic |
---|
Public Shared Sub Show ( _ message As String, _ caption As String, _ icon As C1MessageBoxIcon, _ 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.
- icon
- Type: C1.WPF..::..C1MessageBoxIcon
A C1MessageBoxIcon value that specifies the icon to display.
- callback
- Type: System..::..Action<(Of <(<'MessageBoxResult>)>)>
An Action<(Of <(<'T>)>)> which is called with the result of the message box.