# GraffitiWall
Class Inherits GraffitiWebUIControl
## About
GraffitiWall provides an animated, cascading interface of ContainerControls for amazing tile-based user interfaces! Great for dashboards or image streams!
## Event Definitions
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| KeyPress | KeyCode as Integer <br> AltKey as Boolean <br> CtrlKey as Boolean <br> ShiftKey as Boolean | (None) | Fires when a key or key combination is pressed on the keyboard while the Wall has focus. |
| Open | (None) | (None) | |
| Reordered | (None) | (None) | Raised when the user has reordered items by dragging. |
| Resized | width as Integer <br> height as Integer | (None) | Raised when the control has been resized. Especially useful for moving other controls when AutoHeight = True. |
| ScrollBottom | (None) | (None) | Fires when the user has scrolled all the way to the bottom of the available height. Typically used to lazy load more panels. |
| Shown | (None) | (None) | |
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| AddPanel | thePanel as GraffitiWallPanel | (None) | Adds a panel to the wall. |
| GetIndex | thePanel as GraffitiWallPanel | Integer | Returns the index of the panel. |
| GetPanel | panelIndex as Integer | GraffitiWallPanel | Returns the panel at the panelIndex position of the panels array. |
| InsertPanel | AtIndex as Integer <br> thePanel as GraffitiWallPanel | (None) | Inserts a panel at the given index. |
| PanelCount | (None) | Integer | The number of panels currently displayed. |
| RemoveAll | (None) | (None) | Remove all panels. |
| RemovePanel | thePanel as GraffitiWallPanel | (None) | Removes the panel at panelIndex in the panels array from the display. |
| RemovePanel | panelIndex as Integer | (None) | Removes the panel at panelIndex in the panels array from the display. |
| ScrollTo | item as GraffitiWallPanel | (None) | |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| AllowDragReorder | Boolean | Nil | When True, users may reorder the containers in the display by dragging. |
| AnimationTime | Integer | Nil | Time in milliseconds that animations are allotted. |
| AutoHeight | Boolean | Nil | When True, the wall will size itself to fit all panels and raise the Resized event with the updated dimensions. The height of the control should not be modified by using the Height property. |
| BackgroundColor | Color | Nil | Color applied to the background of the control. |
| BackgroundImage | Picture | Nil | Image applied to the background of the control. |
| GutterHeight | Integer | Nil | The height of the bottom margins of each panel. |
| GutterWidth | Integer | Nil | The width of the left/right gutter between the items. |
| LockUpdate | Boolean | Nil | Block the display from updating, when true. Update display when set to false. |
| Panels() | GraffitiWallPanel | Nil | The current array of panels. Editing this manually will not cause updates to the display. Please use the built-in methods. |