Class NestedListViewItem<TData, TIndex>
Base class for components which can be added to GameObjects used as items in a nested list view
Inherited Members
Namespace: Unity.ListViewFramework
Syntax
public abstract class NestedListViewItem<TData, TIndex> : ListViewItem<TData, TIndex>, INestedListViewItem<TData, TIndex>, INestedListViewItem, IListViewItem<TData, TIndex>, IListViewItem where TData : IListViewItemData<TIndex>
Type Parameters
| Name | Description |
|---|---|
| TData | The type of data backing each list item |
| TIndex | The type which is used as a unique index to map data to list items |
Methods
ToggleExpanded()
Toggle the expanded state of this item
Declaration
public void ToggleExpanded()
Implements
Events
toggleExpanded
Invoked when ToggleExpanded is called
Declaration
public event Action<TData> toggleExpanded
Event Type
| Type | Description |
|---|---|
| Action<TData> |