ItemList Class |
Namespace: Kit.UI
The ItemList type exposes the following members.
| Name | Description | |
|---|---|---|
| Count | Returns the total number of UI elements. | |
| Data | Set a list of items and create UI elements for them, or get the list of items for which the elements were created. | |
| Item | Returns the UI element at a particular index, or if index is out-of-bounds. |
| Name | Description | |
|---|---|---|
| Clear | Destroys all children. | |
| GetFirstItem | Returns the first UI element. | |
| GetFirstItemT | Returns the first UI element. | |
| GetItem(Int32) | Returns the UI element at a particular index. | |
| GetItemT(Int32) | Returns the UI element at a particular index, or if index is out-of-bounds. | |
| GetItems | Returns the list of UI elements. | |
| GetItemsT | Returns the list of UI elements. | |
| GetLastItem | Returns the last UI element. | |
| GetLastItemT | Returns the last UI element. | |
| IndexOf | Returns the index of a particular UI element, or -1 if not found. | |
| IsValid | Returns whether a particular index is out-of-range for elements created. | |
| Refresh | Destroys children and creates UI elements based on the Data property. |
| Name | Description | |
|---|---|---|
| Destroy | Destroy the object. (Defined by UnityObjectExtensions.) | |
| Disable | Set the enabled property to . (Defined by BehaviourExtensions.) | |
| Enable | Set the enabled property to . (Defined by BehaviourExtensions.) | |
| GetBounds | Returns the bounds of the Component. | |
| IsPrefab | Returns whether the Component is a part of a prefab. (Defined by ComponentExtensions.) |