1 type derived from CollectionViewGroupInternal
PresentationFramework (1)
src\Framework\MS\Internal\Data\CollectionViewGroupRoot.cs (1)
31internal class CollectionViewGroupRoot : CollectionViewGroupInternal, INotifyCollectionChanged
2 instantiations of CollectionViewGroupInternal
PresentationFramework (2)
src\Framework\MS\Internal\Data\CollectionViewGroupRoot.cs (2)
433CollectionViewGroupInternal subgroup = new CollectionViewGroupInternal(explicitNames[k], group, isExplicit:true); 564subgroup = new CollectionViewGroupInternal(name, group);
100 references to CollectionViewGroupInternal
PresentationFramework (100)
src\Framework\MS\Internal\Data\CollectionViewGroupInternal.cs (35)
34internal CollectionViewGroupInternal(object name, CollectionViewGroupInternal parent, bool isExplicit=false) : base(name) 95for (CollectionViewGroupInternal group = this; 140CollectionViewGroupInternal subgroup = Items[k] as CollectionViewGroupInternal; 202CollectionViewGroupInternal subGroup = item as CollectionViewGroupInternal; 242CollectionViewGroupInternal subGroup = ProtectedItems[i] as CollectionViewGroupInternal; 264CollectionViewGroupInternal subgroup = Items[k] as CollectionViewGroupInternal; 304for (CollectionViewGroupInternal group = this; 319CollectionViewGroupInternal subgroup = group.Items[k] as CollectionViewGroupInternal; 334CollectionViewGroupInternal subgroup = Items[k] as CollectionViewGroupInternal; 414CollectionViewGroupInternal subgroup = ProtectedItems[index] as CollectionViewGroupInternal; 496CollectionViewGroupInternal subgroup = Items[i] as CollectionViewGroupInternal; 526internal void AddSubgroupToMap(object nameKey, CollectionViewGroupInternal subgroup) 548private void RemoveSubgroupFromMap(CollectionViewGroupInternal subgroup) 578internal CollectionViewGroupInternal GetSubgroupFromMap(object nameKey) 591return (weakRef.Target as CollectionViewGroupInternal); 701internal CollectionViewGroupInternal Parent 727for ( CollectionViewGroupInternal group = this; 763CollectionViewGroupInternal _parentGroup; 785public LeafEnumerator(CollectionViewGroupInternal group) 817CollectionViewGroupInternal subgroup = _group.Items[_index] as CollectionViewGroupInternal; 848CollectionViewGroupInternal _group; // parent group 869public void RemoveEmptyGroup(CollectionViewGroupInternal group) 873_toRemove = new System.Collections.Generic.List<CollectionViewGroupInternal>(); 882foreach (CollectionViewGroupInternal group in _toRemove) 884CollectionViewGroupInternal parent = group.Parent; 898System.Collections.Generic.List<CollectionViewGroupInternal> _toRemove;
src\Framework\MS\Internal\Data\CollectionViewGroupRoot.cs (32)
190CollectionViewGroupInternal parentGroup = lsi.ParentGroup; 199foreach (CollectionViewGroupInternal group in lsi.ParentGroups) 316CollectionViewGroupInternal parentGroup = lsi.ParentGroup; 327CollectionViewGroupInternal group = parentGroup; 342List<CollectionViewGroupInternal> parentGroups = lsi.ParentGroups; 347foreach (CollectionViewGroupInternal group in parentGroups) 410public CollectionViewGroupInternal Group { get; set; } 420void InitializeGroup(CollectionViewGroupInternal group, GroupDescription parentDescription, int level) 433CollectionViewGroupInternal subgroup = new CollectionViewGroupInternal(explicitNames[k], group, isExplicit:true); 484void AddToSubgroups(object item, LiveShapingItem lsi, CollectionViewGroupInternal group, int level, bool loading) 525void AddToSubgroup(object item, LiveShapingItem lsi, CollectionViewGroupInternal group, int level, object name, bool loading) 527CollectionViewGroupInternal subgroup; 532if (((subgroup = group.GetSubgroupFromMap(groupNameKey) as CollectionViewGroupInternal) != null) && 546subgroup = group.Items[index] as CollectionViewGroupInternal; 585void MoveWithinSubgroups(object item, CollectionViewGroupInternal group, int level, IList list, int oldIndex, int newIndex) 611void MoveWithinSubgroup(object item, CollectionViewGroupInternal group, int level, object name, IList list, int oldIndex, int newIndex) 613CollectionViewGroupInternal subgroup; 628subgroup = group.Items[index] as CollectionViewGroupInternal; 652void MoveWithinSubgroup(object item, CollectionViewGroupInternal group, IList list, int oldIndex, int newIndex) 666object GetGroupNameKey(object name, CollectionViewGroupInternal group) 692bool RemoveFromSubgroups(object item, CollectionViewGroupInternal group, int level) 725bool RemoveFromSubgroup(object item, CollectionViewGroupInternal group, int level, object name) 727CollectionViewGroupInternal subgroup; 731if (((subgroup = group.GetSubgroupFromMap(groupNameKey) as CollectionViewGroupInternal) != null) && 741subgroup = group.Items[index] as CollectionViewGroupInternal; 759bool RemoveFromGroupDirectly(CollectionViewGroupInternal group, object item) 778void RemoveItemFromSubgroupsByExhaustiveSearch(CollectionViewGroupInternal group, object item) 787CollectionViewGroupInternal subgroup = group.Items[k] as CollectionViewGroupInternal; 845public AbandonedGroupItem(LiveShapingItem lsi, CollectionViewGroupInternal group) 852public CollectionViewGroupInternal Group { get { return _group; } } 855CollectionViewGroupInternal _group;
src\Framework\MS\Internal\Data\LiveShapingItem.cs (12)
181internal void AddParentGroup(CollectionViewGroupInternal group) 184List<CollectionViewGroupInternal> list; 190else if ((list = o as List<CollectionViewGroupInternal>) == null) 192list = new List<CollectionViewGroupInternal>(2); 193list.Add(o as CollectionViewGroupInternal); 203internal void RemoveParentGroup(CollectionViewGroupInternal group) 206List<CollectionViewGroupInternal> list = o as List<CollectionViewGroupInternal>; 225internal List<CollectionViewGroupInternal> ParentGroups 227get { return GetValue(ParentGroupsProperty) as List<CollectionViewGroupInternal>; } 230internal CollectionViewGroupInternal ParentGroup 232get { return GetValue(ParentGroupsProperty) as CollectionViewGroupInternal; }
src\Framework\System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (6)
50CollectionViewGroupInternal group = groupItem.GetValue(ItemContainerGenerator.ItemForItemContainerProperty) as CollectionViewGroupInternal; 79CollectionViewGroupInternal group = groupItem.GetValue(ItemContainerGenerator.ItemForItemContainerProperty) as CollectionViewGroupInternal; 290CollectionViewGroupInternal cvg = itemsControl.ItemContainerGenerator.ItemFromContainer(Owner) as CollectionViewGroupInternal;
src\Framework\System\Windows\Automation\Peers\ItemAutomationPeer.cs (2)
343CollectionViewGroupInternal currentGroup = null; 349foreach (CollectionViewGroupInternal group in collection)
src\Framework\System\Windows\Controls\DataGrid.cs (2)
5636CollectionViewGroupInternal cvg = ItemContainerGenerator.ItemFromContainer(currentGroupItem) as CollectionViewGroupInternal;
src\Framework\System\Windows\Controls\ItemsControl.cs (5)
2170if (nextItem == DependencyProperty.UnsetValue || nextItem is CollectionViewGroupInternal) 2351(firstItem == DependencyProperty.UnsetValue || firstItem is CollectionViewGroupInternal)) 2417(firstItem == DependencyProperty.UnsetValue || firstItem is CollectionViewGroupInternal)) 2483(lastItem == DependencyProperty.UnsetValue || lastItem is CollectionViewGroupInternal)) 2887if (returnItem != null && returnItem is CollectionViewGroupInternal)
src\Framework\System\Windows\Data\BindingListCollectionView.cs (3)
2273CollectionViewGroupInternal.IListComparer ilc = _group.ActiveComparer as CollectionViewGroupInternal.IListComparer; 2280_group.ActiveComparer = new CollectionViewGroupInternal.IListComparer(list);
src\Framework\System\Windows\Data\ListCollectionView.cs (3)
2975CollectionViewGroupInternal.IListComparer ilc = _group.ActiveComparer as CollectionViewGroupInternal.IListComparer; 2982_group.ActiveComparer = new CollectionViewGroupInternal.IListComparer(InternalList);