# GraffitiSlideshow
Class Inherits GraffitiWebUIControl
## About
GraffitiSlideshow allows you to define any number of image slides, complete with title and content captions, for display in your UI.
## Compatibility
### Framework API Version
| 1.0 | 2.0 |
| :---: | :---: |
| True | True |
### Web
| 32-Bit | 64-Bit |
| :---: | :---: |
| True | True |
## Enumerations
| Name | Value | Description |
| --- | :---: | --- |
| Transitions | Slide <br> Fade | Supported transition animations. |
## Event Definitions
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| Changed | (None) | (None) | Raised when the current slide has changed. |
| ItemContentPressed | item as GraffitiSlideshowItem | (None) | Raised when the slide content is pressed. |
| ItemPressed | item as GraffitiSlideshowItem | (None) | Raised when the slide is pressed. |
| ItemTitlePressed | item as GraffitiSlideshowItem | (None) | Raised when the slide title is pressed. |
| Open | (None) | (None) | |
| Shown | (None) | (None) | |
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| AddItem | item as GraffitiSlideshowItem | (None) | Adds the specified item to the display. |
| LastIndex | (None) | Integer | Returns the last item index. |
| MoveNext | (None) | (None) | Moves to the next slide or, if at the last slide, moves to the first slide. |
| MovePrevious | (None) | (None) | Moves to the previous slide or, if at the first slide, moves to the last slide. |
| MoveTo | itemIndex as Integer | (None) | Moves to the specified slide. |
| Pause | (None) | (None) | Pauses slide transition. |
| RemoveAll | (None) | (None) | Removes all items from the component. |
| RemoveItem | index as Integer | (None) | Removes the item at the specified index. |
| Attributes | Hidden = True | UpdateProperty | |
| Attributes | Hidden = True | UpdatePropertyMultiple | |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| Interval | Integer | Nil | Time in milliseconds that each item will be displayed before the component moves to the next one. |
| PauseOnHover | Boolean | Nil | When True, moving the mouse over the display – or pressing down on touch-enabled devices – will pause item transitioning. |
| SelectedItem | GraffitiSlideshowItem | Nil | The currently displayed item. |
| Transition | Transitions | Nil | Determines the style of animation applied to slides during the change. |