Click or drag to resize

ModernContentShowMessageBox Method (String, String, MessageBoxButton, MessageBoxImage, String)

Show a MessageBox

Namespace:  Hummingbird.UI
Assembly:  Hummingbird.UI (in Hummingbird.UI.dll) Version: 1.1.0.0
Syntax
public MessageBoxResult ShowMessageBox(
	string Title,
	string Message,
	MessageBoxButton Buttons = MessageBoxButton.OK,
	MessageBoxImage Image = MessageBoxImage.None,
	string Details = null
)

Parameters

Title
Type: SystemString
Title of the MessageBox
Message
Type: SystemString
Message
Buttons (Optional)
Type: System.WindowsMessageBoxButton
Buttons to show in the MessageBox
Image (Optional)
Type: System.WindowsMessageBoxImage
MessageBox Image (not used)
Details (Optional)
Type: SystemString
Detailed error message, can include stack traces and large text

Return Value

Type: MessageBoxResult
The MessageBoxResult value according to which button is clicked.
See Also