52 references to Items
PresentationFramework (52)
MS\Internal\Data\CollectionViewGroupInternal.cs (17)
134for (int k = 0, n = Items.Count; k < n; ++k) 136CollectionViewGroupInternal subgroup = Items[k] as CollectionViewGroupInternal; 140return Items[k]; 252for (int k = 0, n = Items.Count; k < n; ++k) 254CollectionViewGroupInternal subgroup = Items[k] as CollectionViewGroupInternal; 270if (System.Windows.Controls.ItemsControl.EqualsEx(item, Items[k])) 299for (int k = 0, n = group.Items.Count; k < n; ++k) 302if ((index < 0 && System.Windows.Controls.ItemsControl.EqualsEx(item, group.Items[k])) || 309CollectionViewGroupInternal subgroup = group.Items[k] as CollectionViewGroupInternal; 322for (int k = 0, n = Items.Count; k < n; ++k) 324CollectionViewGroupInternal subgroup = Items[k] as CollectionViewGroupInternal; 342return Items[k]; 483CollectionViewGroupInternal subgroup = Items[i] as CollectionViewGroupInternal; 784if (_index >= _group.Items.Count) 787CollectionViewGroupInternal subgroup = _group.Items[_index] as CollectionViewGroupInternal; 791_current = _group.Items[_index]; 812if (_index < 0 || _index >= _group.Items.Count)
MS\Internal\Data\CollectionViewGroupRoot.cs (9)
525group.LastIndex = (group.Items[index] == subgroup ? index : 0); 533for (int n = group.Items.Count; index < n; ++index) 535subgroup = group.Items[index] as CollectionViewGroupInternal; 615for (int index = 0, n = group.Items.Count; index < n; ++index) 617subgroup = group.Items[index] as CollectionViewGroupInternal; 728for (int index = 0, n = group.Items.Count; index < n; ++index) 730subgroup = group.Items[index] as CollectionViewGroupInternal; 774for (int k = group.Items.Count - 1; k >= 0; --k) 776CollectionViewGroupInternal subgroup = group.Items[k] as CollectionViewGroupInternal;
System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (2)
48positionInSet = parent.Items.IndexOf(group) + 1; 77sizeOfSet = parent.Items.Count;
System\Windows\Automation\Peers\ItemAutomationPeer.cs (1)
385newCollection = currentGroup.Items;
System\Windows\Controls\DataGrid.cs (4)
5591if (cvg != null && cvg.Items.Count > 0) 5594if ((e.Key == Key.Up && ItemsControl.EqualsEx(cvg.Items[0], currentInfo.Item)) || 5595(e.Key == Key.Down && ItemsControl.EqualsEx(cvg.Items[cvg.Items.Count - 1], currentInfo.Item)))
System\Windows\Controls\ItemContainerGenerator.cs (1)
1990items = group.Items;
System\Windows\Data\BindingListCollectionView.cs (9)
352get { return (_isGrouping) ? _group.Items : null; } 529int index = (oldIndex == 0) ? 0 : _group.Items.Count - 1; 534int index = (newIndex == 0) ? 0 : _group.Items.Count; 803index = _group.Items.Count - 1; 809index = _group.Items.Count - 2; 2284_group.InsertSpecialItem(_group.Items.Count, _newItem, true /*loading*/); 2288_group.InsertSpecialItem(_group.Items.Count, NewItemPlaceholder, true /*loading*/); 2336index = _group.Items.Count; 2342index = _group.Items.Count - 1;
System\Windows\Data\ListCollectionView.cs (9)
255get { return (IsGrouping) ? _group.Items : null; } 642int index = (oldIndex == 0) ? 0 : _group.Items.Count - 1; 647int index = (newIndex == 0) ? 0 : _group.Items.Count; 909index = _group.Items.Count - 1; 915index = _group.Items.Count - 2; 2976_group.InsertSpecialItem(_group.Items.Count, _newItem, true /*loading*/); 2980_group.InsertSpecialItem(_group.Items.Count, NewItemPlaceholder, true /*loading*/); 3029index = _group.Items.Count; 3035index = _group.Items.Count - 1;