ClassicMessageBoxShowMessageBox Method (DependencyObject, String, String, MessageBoxButton, MessageBoxImage, String) |
Shows the message box.
Namespace:
Hummingbird.UI
Assembly:
Hummingbird.UI (in Hummingbird.UI.dll) Version: 1.1.0.0
Syntax public static MessageBoxResult ShowMessageBox(
DependencyObject child,
string Caption,
string Message,
MessageBoxButton Buttons = MessageBoxButton.OK,
MessageBoxImage Image = MessageBoxImage.Asterisk,
string DetailedError = null
)
Public Shared Function ShowMessageBox (
child As DependencyObject,
Caption As String,
Message As String,
Optional Buttons As MessageBoxButton = MessageBoxButton.OK,
Optional Image As MessageBoxImage = MessageBoxImage.Asterisk,
Optional DetailedError As String = Nothing
) As MessageBoxResult
public:
static MessageBoxResult ShowMessageBox(
DependencyObject^ child,
String^ Caption,
String^ Message,
MessageBoxButton Buttons = MessageBoxButton::OK,
MessageBoxImage Image = MessageBoxImage::Asterisk,
String^ DetailedError = nullptr
)
Parameters
- child
- Type: System.WindowsDependencyObject
The component calling the message box. - Caption
- Type: SystemString
The caption (header). - Message
- Type: SystemString
The message (content) - Buttons (Optional)
- Type: System.WindowsMessageBoxButton
The buttons of message box - Image (Optional)
- Type: System.WindowsMessageBoxImage
The icon indicating the level of the message (this parameter is not yet used in the current version of UI Framework). - DetailedError (Optional)
- Type: SystemString
The detailed error.
Return Value
Type:
MessageBoxResultThe
MessageBoxResult value indication the choose of the user.
See Also