GraffitiSuite Docs
Docs
Graffitithumblist
Loading document parsing libraries...
# GraffitiThumbList Class Inherits GraffitiWebUIControl ## About This product is a really neat control to display thumbnails of images in your UI and allow users to select them. ## Compatibility ### Framework API Version | 1.0 | 2.0 | | :---: | :---: | | True | True | ### Web | 32-Bit | 64-Bit | | :---: | :---: | | True | True | ## Enumerations | Name | Value | Description | | --- | :---: | --- | | Types | Grid <br> Horizontal <br> Vertical | Supported display types. | ## Event Definitions | Name | Parameters | Return Type | Description | | --- | :---: | :---: | --- | | FocusChanged | (None) | (None) | | | ItemContextPressed | item as GraffitiThumbListItem | (None) | Raised when an item is right-clicked or long-pressed. | | ItemDoublePressed | item as GraffitiThumbListItem | (None) | Raised when an item is double pressed. | | ItemMouseEnter | item as GraffitiThumbListItem | (None) | Raised when the user’s mouse cursor enters an item. | | ItemMouseExit | item as GraffitiThumbListItem | (None) | Raised when the user’s mouse cursor exits an item. | | ItemPressed | item as GraffitiThumbListItem | (None) | Raised when an item is clicked or pressed. | | MouseEnter | (None) | (None) | | | MouseExit | (None) | (None) | | | Open | (None) | (None) | | | SelectionChanged | (None) | (None) | Raised when the selected items have changed. | | Shown | (None) | (None) | | ## Methods | Name | Parameters | Return Type | Description | | --- | :---: | :---: | --- | | Add | item as GraffitiThumbListItem | (None) | Adds a new item. | | AddAt | index as Integer <br> item as GraffitiThumbListItem | (None) | Inserts a new item. | | DeselectAll | (None) | (None) | Deselects all items. | | IndexOf | item as GraffitiThumbListItem | Integer | Returns the index of the specified item. | | ItemAt | index as Integer | GraffitiThumbListItem | Returns the item at the specified index. | | LastIndex | (None) | Integer | Returns of the index of the last item. | | Remove | item as GraffitiThumbListItem | (None) | Removes the specified item. | | RemoveAll | (None) | (None) | Removes all items. | | RemoveAt | index as Integer | (None) | Removes the item at the specified index. | | ScrollTo | item as GraffitiThumbListItem | (None) | Scrolls the specified item into view. | | SelectAll | (None) | (None) | Selects all items. | | SelectedItems | (None) | GraffitiThumbListItem | Returns an array of the currently selected items. | | Attributes | Hidden | UpdateProperty | | | Attributes | Hidden | UpdatePropertyMultiple | | ## Properties | Name | Type | Default Value | Description | | --- | :---: | :---: | --- | | Enabled | Boolean | Nil | | | FocusedItem | GraffitiThumbListItem | Nil | | | ImageWidth | Integer | Nil | | | Multiselect | Boolean | Nil | | | Type | Types | Nil | |