# GraffitiControlGroupListbox
Class Inherits GraffitiControlGroupItem
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| Add | item as String | (None) | Adds a new value to the end of the list. |
| AddAt | index as Integer <br> item as String | (None) | Adds a new value at the specified index within the list. |
| Constructor | items() as String <br> selectedIndexes() as Integer | (None) | Creates a new instance of the class. |
| IndexOf | item as String | Integer | Returns the index position of the specified value within the list. |
| ItemAt | index as Integer | String | Returns the value at the specified index position within the list. |
| ItemSelected | index as Integer | Boolean | Gets the item selection state based on index. |
| ItemSelected | index as Integer <br> assigns value as Boolean | (None) | Sets the item selection state based on index. |
| ItemSelected | item as String | Boolean | Gets the item selection state based on text. |
| ItemSelected | item as String <br> assigns value as Boolean | (None) | Sets the item selection state based on text. |
| LastIndex | (None) | Integer | Returns the index of last item within the list. |
| Operator_Convert | (None) | JSONitem | |
| Remove | item as String | (None) | Removes the specified item from the list. |
| RemoveAll | (None) | (None) | Removes all items from the group. |
| RemoveAt | index as Integer | (None) | Removes the value at the specified index position from the list. |
| SelectedIndexes | (None) | Integer | Returns an integer array of the currently selected items' indexes. |
| SelectedIndexes | assigns indexes() as Integer | (None) | Returns an integer array of the currently selected items' indexes. |
| SelectedItems | (None) | String | Returns a string array of the currently selected items. |
| SelectedItems | assigns items() as String | (None) | Returns a string array of the currently selected items. |
| Attributes | Hidden | ToString | |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| Attributes | selectedRows | Nil | |
| Multiselect | Boolean | Nil | When True, users may select multiple items. |
| Size | Integer | Nil | Height of the control when in a vertical ControlGroup or width of the control when in a horizontal ControlGroup. Value is in REM. |
| VisibleRows | Integer | Nil | Number of rows visible within the listbox, subject to Size constraints. |