# 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 | (None) |
| Attributes | mBodyWidth | Integer | (None) |
| BodyHeight | Integer | (None) | Read only value representing the width of the alert's body. |
| BodyWidth | Integer | (None) | Read only value representing the height of the alert's body. |
| ButtonAlignment | ButtonPositions | (None) | Position within the alert's footer where buttons will be displayed. |
| ButtonAreaStyle | GraffitiStyle | (None) | GraffitiStyle applied to the area of the alert which contains any buttons. |
| Buttons() | GraffitiAlertButton | (None) | Buttons to be displayed on the Alert. |
| CanOverflow | Boolean | (None) | Determines whether other objects will be able to extend outside the alert's area. |
| CloseButton | Boolean | (None) | 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 | (None) | The content of the alert. |
| ContentContainer | WebContainer | (None) | The WebContainer to embed within the alert. |
| ContentStyle | GraffitiStyle | (None) | GraffitiStyle to apply to the alert's content area. |
| DisplayState | GraffitiAlertMessage.DisplayStates | (None) | 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 | (None) | The FontAwesome 5 Icon identifier for the alert, IE : fas fa-times |
| IconStyle | GraffitiStyle | (None) | GraffitiStyle applied to the icon within the message. |
| ID | String | (None) | (None) |
| Indicator | WebUIControl.Indicators | (None) | 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 | (None) | If True clicks outside the alert will be ignored. |
| Name | String | (None) | 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 | (None) |
| Position | GraffitiAlert.MessagePositions | (None) | 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 | (None) | Custom GraffitiStyle for altering the appearance of the alert. |
| Tag | Variant | (None) | 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 | (None) | Text shown within the alert's titlebar when applicable. |
| TitleStyle | GraffitiStyle | (None) | 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 | (None) |