Unity - Scripting API: MultiColumnController
class in UnityEngine.UIElements
/
Implemented in:UnityEngine.UIElementsModule
Success!
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Submission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Description
The default controller for a multi column view. Takes care of adding the MultiColumnCollectionHeader and reacting to the various callbacks.
Constructors
| Constructor | Description |
|---|---|
| MultiColumnController | Constructor. It will create the MultiColumnCollectionHeader to use for the view. |
Public Methods
| Method | Description |
|---|---|
| BindItem | Binds a row of multiple cells to an item index. |
| DestroyItem | Destroys a VisualElement when the view is rebuilt or cleared. |
| Dispose | Unregisters events and removes the header from the hierarchy. |
| MakeItem | Creates a VisualElement to use in the virtualization of the collection view. It will create a cell for every visible column. |
| PrepareView | Initialization step once the view is set. It will insert the multi column header in the hierarchy and register to important callbacks. |
| UnbindItem | Unbinds the row at the item index. |