internal void OnItemAdded(GroupViewItem item) { if (this._groupListView != null) { int index = this._items.IndexOf(item); GroupViewListViewItem item2 = new GroupViewListViewItem(item); this._groupListView.Items.Insert(index, item2); } }
internal void OnActivate(ListView currentListView) { this._groupListView = currentListView; foreach (GroupViewItem item in this._items) { GroupViewListViewItem item2 = new GroupViewListViewItem(item); this._groupListView.Items.Add(item2); item.ListViewItem = item2; } }