Click or drag to resize

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
)

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: MessageBoxResult
The MessageBoxResult value indication the choose of the user.
See Also