# GraffitiAvatarGroup
Class Inherits GraffitiWebUIControl
## About
GraffitiAvatarGroup allows you to display many avatars for users to interact with. Typically used in scenarios to show what users are participating in an activity or are currently available.Add as many avatars as you need and this class will collapse to hide those items which cannot be displayed and will draw a “More” button showing the current count of hidden items.
## Compatibility
### Framework API Version
| 1.0 | 2.0 |
| :---: | :---: |
| True | True |
### Web
| 32-Bit | 64-Bit |
| :---: | :---: |
| True | True |
## Event Definitions
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| ItemDoublePressed | item as GraffitiAvatarGroupItem | (None) | Raised when user double-clicks an avatar in the group. |
| ItemMouseEnter | item as GraffitiAvatarGroupItem | (None) | Raised when the user's mouse enters an avatar item's area. |
| ItemMouseExit | item as GraffitiAvatarGroupItem | (None) | Raised when the user's mouse exits an avatar item's area. |
| ItemPressed | item as GraffitiAvatarGroupItem | (None) | Raised when the user clicks an avatar item. |
| MoreDoublePressed | hiddenItems() as GraffitiAvatarGroupItem | (None) | Raised when the user double-clicks the “More” item. |
| MoreMouseEnter | hiddenItems() as GraffitiAvatarGroupItem | (None) | Raised when the user's mouse enters the “More” item. |
| MoreMouseExit | hiddenItems() as GraffitiAvatarGroupItem | (None) | Raised when the user's mouse exits the “More” item's area. |
| MorePressed | hiddenItems() as GraffitiAvatarGroupItem | (None) | Raised when the user clicks the “More” item. |
| Open | (None) | (None) | |
| Shown | (None) | (None) | |
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| Add | item as GraffitiAvatarGroupItem | (None) | Adds the specified item to the group. |
| IndexOf | item as GraffitiAvatarGroupItem | Integer | Returns the index of the specified item within the internal array. |
| Item | index as Integer | GraffitiAvatarGroupItem | Returns the item at the specified index. |
| Remove | item as GraffitiAvatarGroupItem | (None) | Removes the specified item. |
| RemoveAll | (None) | (None) | Removes all avatar items from the group. |
| RemoveAt | index as Integer | (None) | Removes the item at the specified index. |
| Attributes | Hidden | UpdateProperty | |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| Enabled | Boolean | Nil | |
| MoreItemColor | Color | Nil | Background color applied to the “More” item. |