Cell Descriptor used to register a new Cell for a specific Node Type in the Hierarchy. Allows user to create custom UI to edit or display data of this Node in the Cell corresponding to a specific Column.
| Property | Description |
|---|---|
| BindCell | Callback triggered when the cell is bound. |
| BindColumn | Callback triggered when the column containing Cell generated by this descriptor is bound to the view. |
| ClearCellContent | If true, the children of the HierarchyViewCell will be deleted when the cell is unbound. |
| ColumnId | ColumnId used to register the Cell to. |
| HandlerType | NodeHandler type used to manage the Node of this Cell. |
| UnbindCell | Callback triggered when the cell is unbound. The VisualElement content of the Cell will automatically be cleared out. User should only Dispose of custom resources or unregister from events. |
| UnbindColumn | Callback triggered when the column containing Cell generated by this descriptor is unbound from the view. |
| UserData | User data |
| Constructor | Description |
|---|---|
| HierarchyViewCellDescriptor | Create a new Cell Descriptor. |
| Method | Description |
|---|---|
| ValidForColumn | Validate that a Column Descriptor is valid for this Cell Descriptor. |