ApiSessionShowMessageBox Method |
Shows a message box with the given parameters
Namespace:
Articy.Api
Assembly:
ArticyApp (in ArticyApp.dll) Version: 1.0.0
Syntax public MessageBoxResult ShowMessageBox(
string aMessage,
string aCaption = null,
MessageBoxButton aButtons = MessageBoxButton.OK,
MessageBoxImage aImage = MessageBoxImage.Hand
)
Parameters
- aMessage
- Type: SystemString
The message or message loca-id - aCaption (Optional)
- Type: SystemString
The box's caption or caption loca-id, defaults to 'Error' - aButtons (Optional)
- Type: System.WindowsMessageBoxButton
The set of buttons to use for the box, defaults to MessageBoxButtons.OK - aImage (Optional)
- Type: System.WindowsMessageBoxImage
The image to be used in the message box, defaults to MessageBoxImage.Error
Return Value
Type:
MessageBoxResultThe selected button or None when the box was closed using the window close button.
See Also