GraffitiSuite Docs
Docs
Graffitipagepanel
Loading document parsing libraries...
# GraffitiPagePanel Class Inherits GraffitiSuite.BaseContainer ## About GraffitiPagePanel is a that allows developers to embed multiple containers within their UI and easily switch between them. ## Compatibility ### Framework API Version | 1.0 | 2.0 | | :---: | :---: | | False | True | ### Console | 32-Bit | 64-Bit | | :---: | :---: | | True | True | ### Desktop | 32-Bit | 64-Bit | | :---: | :---: | | True | True | ### iOS | 32-Bit | 64-Bit | | :---: | :---: | | False | True | ### Web | 32-Bit | 64-Bit | | :---: | :---: | | True | True | ## Attributes | Name | Value | | --- | --- | | DefaultEvent | "SelectionChanged" | ## Event Definitions | Name | Parameters | Return Type | Description | | --- | :---: | :---: | --- | | Closing | (None) | (None) | | | Opening | (None) | (None) | | | SelectionChanged | (None) | (None) | Raised when the currently visible panel has changed and any animations are complete. | ## Methods | Name | Parameters | Return Type | Description | | --- | :---: | :---: | --- | | Sub | Add | (None) | Adds a new panel to the control. | | Sub | AddAt | (None) | Adds a new panel to the control at the specified index. | | Function | IndexOf | As | Returns the index of the specified item within the internal array. | | Function | ItemAt | As | Returns the item at the specified index. | | Function | LastIndex | As | Returns the last index of items in the internal array. | | Sub | Remove | (None) | Removed the specified item and its associated container. | | Sub | RemoveAll | (None) | Remove all currently added items. | | Sub | RemoveAt | (None) | Removes the item at the specified index. | ## Properties | Name | Type | Default Value | Description | | --- | :---: | :---: | --- | | AnimationSpeed | Integer | 250 | Length of animations in milliseconds. | | Private | As | Nil | | | Private | | GraffitiPagePanelItem | | | Private | As | = | | | Private | As | = | | | Private | As | = | | | Private | As | Nil | | | SelectedIndex | Integer | Nil | Index of the currently selected tab. |