52 references to Items
PresentationFramework (52)
MS\Internal\Data\CollectionViewGroupInternal.cs (17)
133for (int k = 0, n = Items.Count; k < n; ++k) 135CollectionViewGroupInternal subgroup = Items[k] as CollectionViewGroupInternal; 139return Items[k]; 257for (int k = 0, n = Items.Count; k < n; ++k) 259CollectionViewGroupInternal subgroup = Items[k] as CollectionViewGroupInternal; 275if (System.Windows.Controls.ItemsControl.EqualsEx(item, Items[k])) 304for (int k = 0, n = group.Items.Count; k < n; ++k) 307if ((index < 0 && System.Windows.Controls.ItemsControl.EqualsEx(item, group.Items[k])) || 314CollectionViewGroupInternal subgroup = group.Items[k] as CollectionViewGroupInternal; 327for (int k = 0, n = Items.Count; k < n; ++k) 329CollectionViewGroupInternal subgroup = Items[k] as CollectionViewGroupInternal; 347return Items[k]; 491CollectionViewGroupInternal subgroup = Items[i] as CollectionViewGroupInternal; 809if (_index >= _group.Items.Count) 812CollectionViewGroupInternal subgroup = _group.Items[_index] as CollectionViewGroupInternal; 816_current = _group.Items[_index]; 837if (_index < 0 || _index >= _group.Items.Count)
MS\Internal\Data\CollectionViewGroupRoot.cs (9)
528group.LastIndex = (group.Items[index] == subgroup ? index : 0); 536for (int n = group.Items.Count; index < n; ++index) 538subgroup = group.Items[index] as CollectionViewGroupInternal; 618for (int index = 0, n = group.Items.Count; index < n; ++index) 620subgroup = group.Items[index] as CollectionViewGroupInternal; 731for (int index = 0, n = group.Items.Count; index < n; ++index) 733subgroup = group.Items[index] as CollectionViewGroupInternal; 777for (int k = group.Items.Count - 1; k >= 0; --k) 779CollectionViewGroupInternal 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)
388newCollection = currentGroup.Items;
System\Windows\Controls\DataGrid.cs (4)
5629if (cvg != null && cvg.Items.Count > 0) 5632if ((e.Key == Key.Up && ItemsControl.EqualsEx(cvg.Items[0], currentInfo.Item)) || 5633(e.Key == Key.Down && ItemsControl.EqualsEx(cvg.Items[cvg.Items.Count - 1], currentInfo.Item)))
System\Windows\Controls\ItemContainerGenerator.cs (1)
1993items = 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; 812index = _group.Items.Count - 1; 818index = _group.Items.Count - 2; 2299_group.InsertSpecialItem(_group.Items.Count, _newItem, true /*loading*/); 2303_group.InsertSpecialItem(_group.Items.Count, NewItemPlaceholder, true /*loading*/); 2351index = _group.Items.Count; 2357index = _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; 915index = _group.Items.Count - 1; 921index = _group.Items.Count - 2; 2994_group.InsertSpecialItem(_group.Items.Count, _newItem, true /*loading*/); 2998_group.InsertSpecialItem(_group.Items.Count, NewItemPlaceholder, true /*loading*/); 3047index = _group.Items.Count; 3053index = _group.Items.Count - 1;