Message Box
Displays a message box with a title and a content.
![Message Box designer](/img/activities/input/MessageBoxDesigner.png)
#
Designer Properties- Title The title of the MessageBox window.
- Content The content message for the MessageBox window.
#
Properties![Import Variables properties](/img/activities/input/ImportvariablesProperties.png)
#
General PropertiesSee General Properties.
#
MessageBox Properties- Button The buttons to be displayed. Possible value: OK, OK Cancel, YesNoCancel, YesNo.
- Content See Designer Properties above.
- Image The image to be displayed. It can be any of the following possible values: None, Error, Hand, Stop, Question, Exclamation, Warning, Asterisk, Information.
- Title See Designer Properties above.
#
MiscSee Misc.
#
Out ErrorSee Out Error.
#
Output- Result The dialog result after closing the MessageBox represented as MessageBoxResult.
#
ExampleIn this sample, we start load var1 from Portal and display its value in a MessageBox.
"var1" must exist in the portal. To open portal, press on the portal button
![Portal button](/img/activities/input/PortalButton.png)
from the toolbar and navigate to "variables"
![Portal variables](/img/activities/input/PortalVariables.png)