Preview #
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.
Features:
- Custom images per item
- Custom names per item
- Custom colors per item
- Automatic name to initials conversion
- Automatic font sizing
- Automatic image sizing
Enumerations #
Name | Values |
---|
This class exposes no enumerations.
Constants #
Name | Type | Value |
---|
This class exposes no constants.
Events #
Definition | Parameters | Return Type | Description |
---|---|---|---|
DoublePressed | item as GraffitiAvatarGroupItem | None | Raised when user double-clicks an avatar in the group. |
DoublePressedMore | hiddenItems() as GraffitiAvatarGroupItem | None | Raised when the user double-clicks the “More” item. |
MouseEnterItem | item as GraffitiAvatarGroupItem | None | Raised when the user’s mouse enters an avatar item’s area. |
MouseEnterMore | hiddenItems() as GraffitiAvatarGroupItem | None | Raised when the user’s mouse enters the “More” item. |
MouseExitItem | item as GraffitiAvatarGroupItem | None | Raised when the user’s mouse exits an avatar item’s area. |
MouseExitMore | hiddenItems() as GraffitiAvatarGroupItem | None | Raised when the user’s mouse exits the “More” item’s area. |
Pressed | item as GraffitiAvatarGroupItem | None | Raised when the user clicks an avatar item. |
PressedMore | hiddenItems() as GraffitiAvatarGroupItem | None | Raised when the user clicks the “More” item. |
Methods #
Definition | 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. |
Properties #
Name | Type | Default Value | Description |
---|
This class exposes no properties.
Examples #
This class currently has no examples.
Notes #
This class currently has no notes.