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
)
Public Function ShowMessageBox (
Title As String,
Message As String,
Optional Buttons As MessageBoxButton = MessageBoxButton.OK,
Optional Image As MessageBoxImage = MessageBoxImage.None,
Optional Details As String = Nothing
) As MessageBoxResult
public:
MessageBoxResult ShowMessageBox(
String^ Title,
String^ Message,
MessageBoxButton Buttons = MessageBoxButton::OK,
MessageBoxImage Image = MessageBoxImage::None,
String^ Details = nullptr
)
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:
MessageBoxResultThe
MessageBoxResult value according to which button is clicked.
See Also