# GraffitiAlertMessage
Class
## Enumerations
| Name | Value | Description |
| --- | :---: | --- |
| ButtonPositions | Left <br> Center <br> Right | Support button locations within the message. |
| DisplayStates | Default <br> Minimized <br> Maximized | Possible window size and position states. |
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| Constructor | msgName as String <br> msgContent as String <br> msgTimeout as Integer <br> msgPosition as GraffitiAlert.MessagePositions <br> msgProgressbar as Boolean = True <br> msgTitle as String = "" | (None) | Creates a new instance of the class. |
| Constructor | msgName as String <br> msgContent as String <br> msgTitle as String = "" | (None) | Creates a new instance of the class. |
| Constructor | msgName as String <br> msgContent as String <br> msgIndicator as WebUIControl.Indicators <br> msgTitle as String = "" | (None) | Creates a new instance of the class. |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| Attributes | mBodyHeight | Integer | |
| Attributes | mBodyWidth | Integer | |
| BodyHeight | Integer | Nil | Read only value representing the width of the alert's body. |
| BodyWidth | Integer | Nil | Read only value representing the height of the alert's body. |
| ButtonAlignment | ButtonPositions | Nil | Position within the alert's footer where buttons will be displayed. |
| ButtonAreaStyle | GraffitiStyle | Nil | GraffitiStyle applied to the area of the alert which contains any buttons. |
| Buttons() | GraffitiAlertButton | Nil | Buttons to be displayed on the Alert. |
| CanOverflow | Boolean | Nil | Determines whether other objects will be able to extend outside the alert's area. |
| CloseButton | Boolean | Nil | If True a close button will be displayed to allow users to dismiss the alert. |
| CloseOnInteraction | Boolean | True | Controls whether interactions with buttons or the modal backdrop will close the message. |
| Content | String | Nil | The content of the alert. |
| ContentContainer | WebContainer | Nil | The WebContainer to embed within the alert. |
| ContentStyle | GraffitiStyle | Nil | GraffitiStyle to apply to the alert's content area. |
| DisplayState | GraffitiAlertMessage.DisplayStates | Nil | Current window size and position state. |
| Draggable | Boolean | False | When True and the message has a title, it can be dragged around the page. |
| Height | Integer | -1 | Height of the alert when shown. -1 for auto. |
| Icon | String | Nil | The FontAwesome 5 Icon identifier for the alert, IE : fas fa-times |
| IconStyle | GraffitiStyle | Nil | GraffitiStyle applied to the icon within the message. |
| ID | String | Nil | |
| Indicator | WebUIControl.Indicators | Nil | Bootstrap Indicator to apply to the message. |
| Left | Integer | -1 | Left position of the alert when shown. -1 for default. |
| MaximizeButton | Boolean | False | When True and the message has a title, a Maximize button will be displayed in the titlebar. |
| MaximumHeight | Integer | -1 | The maximum height an alert can be. Use `-1` for no limit. |
| MaximumWidth | Integer | -1 | The maximum width an alert can be. Use `-1` for no limit. |
| MinimizeButton | Boolean | False | Controls whether the message presents a Minimize button. |
| MinimumHeight | Integer | -1 | The minimum height an alert can be. Use `-1` for no limit. |
| MinimumWidth | Integer | -1 | The minimum width an alert can be. Use `-1` for no limit. |
| Modal | Boolean | Nil | If True clicks outside the alert will be ignored. |
| Name | String | Nil | A unique name provided to the alert for identification purposes. This should contain no spaces or other special characters. _ or - are acceptable. |
| Palette | Boolean | False | |
| Position | GraffitiAlert.MessagePositions | Nil | The position of the alert within the browser window. |
| Progressbar | Boolean | True | Displays a progressbar that counts down with the Timeout property. |
| Resizable | Boolean | False | When True, the alert can be resized from the East and South edges, as well as the SouthEast corner. |
| Style | GraffitiStyle | Nil | Custom GraffitiStyle for altering the appearance of the alert. |
| Tag | Variant | Nil | Developer storage. |
| Timeout | Integer | 10000 | How long the alert will be visible on the screen. A value of 0 disables the automatic dismissal. |
| Title | String | Nil | Text shown within the alert's titlebar when applicable. |
| TitleStyle | GraffitiStyle | Nil | GraffitiStyle applied to the titlebar area of the alert when applicable. |
| Top | Integer | -1 | Top position of the alert when shown. -1 for default. |
| Width | Integer | -1 | Width of the alert when shown. -1 for default. |
| ZIndex | Integer | -1 | |