52 references to Items
PresentationFramework (52)
MS\Internal\Data\CollectionViewGroupInternal.cs (17)
135for (int k = 0, n = Items.Count; k < n; ++k) 137CollectionViewGroupInternal subgroup = Items[k] as CollectionViewGroupInternal; 141return Items[k]; 259for (int k = 0, n = Items.Count; k < n; ++k) 261CollectionViewGroupInternal subgroup = Items[k] as CollectionViewGroupInternal; 277if (System.Windows.Controls.ItemsControl.EqualsEx(item, Items[k])) 306for (int k = 0, n = group.Items.Count; k < n; ++k) 309if ((index < 0 && System.Windows.Controls.ItemsControl.EqualsEx(item, group.Items[k])) || 316CollectionViewGroupInternal subgroup = group.Items[k] as CollectionViewGroupInternal; 329for (int k = 0, n = Items.Count; k < n; ++k) 331CollectionViewGroupInternal subgroup = Items[k] as CollectionViewGroupInternal; 349return Items[k]; 493CollectionViewGroupInternal subgroup = Items[i] as CollectionViewGroupInternal; 811if (_index >= _group.Items.Count) 814CollectionViewGroupInternal subgroup = _group.Items[_index] as CollectionViewGroupInternal; 818_current = _group.Items[_index]; 839if (_index < 0 || _index >= _group.Items.Count)
MS\Internal\Data\CollectionViewGroupRoot.cs (9)
531group.LastIndex = (group.Items[index] == subgroup ? index : 0); 539for (int n = group.Items.Count; index < n; ++index) 541subgroup = group.Items[index] as CollectionViewGroupInternal; 621for (int index = 0, n = group.Items.Count; index < n; ++index) 623subgroup = group.Items[index] as CollectionViewGroupInternal; 734for (int index = 0, n = group.Items.Count; index < n; ++index) 736subgroup = group.Items[index] as CollectionViewGroupInternal; 780for (int k = group.Items.Count - 1; k >= 0; --k) 782CollectionViewGroupInternal subgroup = group.Items[k] as CollectionViewGroupInternal;
System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (2)
60positionInSet = parent.Items.IndexOf(group) + 1; 89sizeOfSet = parent.Items.Count;
System\Windows\Automation\Peers\ItemAutomationPeer.cs (1)
398newCollection = currentGroup.Items;
System\Windows\Controls\DataGrid.cs (4)
5632if (cvg != null && cvg.Items.Count > 0) 5635if ((e.Key == Key.Up && ItemsControl.EqualsEx(cvg.Items[0], currentInfo.Item)) || 5636(e.Key == Key.Down && ItemsControl.EqualsEx(cvg.Items[cvg.Items.Count - 1], currentInfo.Item)))
System\Windows\Controls\ItemContainerGenerator.cs (1)
1999items = group.Items;
System\Windows\Data\BindingListCollectionView.cs (9)
357get { return (_isGrouping) ? _group.Items : null; } 534int index = (oldIndex == 0) ? 0 : _group.Items.Count - 1; 539int index = (newIndex == 0) ? 0 : _group.Items.Count; 817index = _group.Items.Count - 1; 823index = _group.Items.Count - 2; 2304_group.InsertSpecialItem(_group.Items.Count, _newItem, true /*loading*/); 2308_group.InsertSpecialItem(_group.Items.Count, NewItemPlaceholder, true /*loading*/); 2356index = _group.Items.Count; 2362index = _group.Items.Count - 1;
System\Windows\Data\ListCollectionView.cs (9)
261get { return (IsGrouping) ? _group.Items : null; } 648int index = (oldIndex == 0) ? 0 : _group.Items.Count - 1; 653int index = (newIndex == 0) ? 0 : _group.Items.Count; 921index = _group.Items.Count - 1; 927index = _group.Items.Count - 2; 3000_group.InsertSpecialItem(_group.Items.Count, _newItem, true /*loading*/); 3004_group.InsertSpecialItem(_group.Items.Count, NewItemPlaceholder, true /*loading*/); 3053index = _group.Items.Count; 3059index = _group.Items.Count - 1;