Base class for virtualized, scrollable panels that only create item panels when visible.
| AddItem |
Adds a single item and marks the panel for rebuild. |
| AddItems |
|
| Clear |
Clears all items and destroys created panels. |
| FinalLayoutChildren |
Final layout pass for child panels and scroll bounds. |
| GetTotalHeight |
Gets the total height needed to display the specified number of items. |
| GetVisibleRange |
Gets the range of visible item indices. |
| HasData |
Returns true if <paramref name="i" /> is a valid item index. |
| InsertItem |
Inserts an item at the specified index and marks the panel for rebuild. |
| PositionPanel |
Positions a panel at the specified index. |
| RemoveAt |
Removes the item at the specified index and marks the panel for rebuild. |
| RemoveItem |
Removes the first occurrence of a specific item and marks the panel for rebuild. |
| SetItems |
|
| Tick |
Per-frame update: adjusts spacing from CSS, updates layout, creates/destroys visible panels. |
| UpdateLayout |
Updates the layout and returns true if the layout changed. |
| UpdateLayoutSpacing |
Updates the layout spacing based on CSS gaps. |