# GraffitiControlGroup
Class Inherits GraffitiWebUIControl
## About
GraffitiControlGroup is an extraordinarily powerful component that allows you to combine any conceivable UI elements in to a single vertical or horizontal bar. The component is extremely customizable and each GraffitiControlGroupItem has extended options and functionality.
## Preview

Previous
Next
## Compatibility
### Framework API Version
| 1.0 | 2.0 |
| :---: | :---: |
| True | True |
### Web
| 32-Bit | 64-Bit |
| :---: | :---: |
| True | True |
## Enumerations
| Name | Value | Description |
| --- | :---: | --- |
| Directions | Horizontal <br > Vertical | Supported display directions. |
## Event Definitions
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| Action | item as GraffitiControlGroupButton <br> itemIndex as Integer | (None) | Raised when the users presses a GraffitiControlGroupButtom. If that button has an associated menu and one of those menu items was selected, itemIndex is the index of that menu item. |
| ItemMouseEnter | item as GraffitiControlGroupItem | (None) | Raised when the user's mouse cursor enters item's area. |
| ItemMouseExit | item as GraffitiControlGroupItem | (None) | Raised when the user's mouse cursor exits the item's area. |
| MouseEnter | (None) | (None) | Raised when the user's mouse cursor enters the control's area. |
| MouseExit | (None) | (None) | Raised when the user's mouse cursor exits the control's area. |
| Open | (None) | (None) | (None) |
| Shown | (None) | (None) | (None) |
| ValueChanged | item as GraffitiControlGroupItem | (None) | Raised when the value of a child object has changed. |
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| Add | item as GraffitiControlGroupItem | (None) | Adds a new GraffitiControlGroupItem to the end of to group. |
| AddAt | index as Integer <br> item as GraffitiControlGroupItem | (None) | Adds a new GraffitiControlItem at the specified index within the group. |
| IndexOf | item as GraffitiControlGroupItem | Integer | Returns the index position of the specified item within the group. |
| ItemAt | index as Integer | GraffitiControlGroupItem | Returns the item at the specified index position within the group. |
| LastIndex | (None) | Integer | Returns the index of last item within the group. |
| Remove | item as GraffitiControlGroupItem | (None) | Removes the specified item from the group. |
| RemoveAll | (None) | (None) | Removes all items from the group. |
| RemoveAt | index as Integer | (None) | Removes the item at the specified index position from the group. |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| Direction | GraffitiControlGroup.Directions | (None) | Determines whether the group will be displayed vertically or horizontally. |
| Enabled | Boolean | (None) | (None) |