1 type derived from CollectionViewGroupInternal
PresentationFramework (1)
MS\Internal\Data\CollectionViewGroupRoot.cs (1)
27internal class CollectionViewGroupRoot : CollectionViewGroupInternal, INotifyCollectionChanged
2 instantiations of CollectionViewGroupInternal
PresentationFramework (2)
MS\Internal\Data\CollectionViewGroupRoot.cs (2)
428CollectionViewGroupInternal subgroup = new CollectionViewGroupInternal(explicitNames[k], group, isExplicit: true); 559subgroup = new CollectionViewGroupInternal(name, group);
101 references to CollectionViewGroupInternal
PresentationFramework (101)
MS\Internal\Data\CollectionViewGroupInternal.cs (36)
31internal CollectionViewGroupInternal(object name, CollectionViewGroupInternal parent, bool isExplicit = false) : base(name) 92for (CollectionViewGroupInternal group = (CollectionViewGroupInternal)state; 137CollectionViewGroupInternal subgroup = Items[k] as CollectionViewGroupInternal; 199CollectionViewGroupInternal subGroup = item as CollectionViewGroupInternal; 239CollectionViewGroupInternal subGroup = ProtectedItems[i] as CollectionViewGroupInternal; 261CollectionViewGroupInternal subgroup = Items[k] as CollectionViewGroupInternal; 301for (CollectionViewGroupInternal group = this; 316CollectionViewGroupInternal subgroup = group.Items[k] as CollectionViewGroupInternal; 331CollectionViewGroupInternal subgroup = Items[k] as CollectionViewGroupInternal; 411CollectionViewGroupInternal subgroup = ProtectedItems[index] as CollectionViewGroupInternal; 493CollectionViewGroupInternal subgroup = Items[i] as CollectionViewGroupInternal; 523internal void AddSubgroupToMap(object nameKey, CollectionViewGroupInternal subgroup) 545private void RemoveSubgroupFromMap(CollectionViewGroupInternal subgroup) 575internal CollectionViewGroupInternal GetSubgroupFromMap(object nameKey) 588return (weakRef.Target as CollectionViewGroupInternal); 698internal CollectionViewGroupInternal Parent 724for (CollectionViewGroupInternal group = this; 760CollectionViewGroupInternal _parentGroup; 782public LeafEnumerator(CollectionViewGroupInternal group) 814CollectionViewGroupInternal subgroup = _group.Items[_index] as CollectionViewGroupInternal; 845CollectionViewGroupInternal _group; // parent group 866public void RemoveEmptyGroup(CollectionViewGroupInternal group) 870_toRemove = new System.Collections.Generic.List<CollectionViewGroupInternal>(); 879foreach (CollectionViewGroupInternal group in _toRemove) 881CollectionViewGroupInternal parent = group.Parent; 895System.Collections.Generic.List<CollectionViewGroupInternal> _toRemove;
MS\Internal\Data\CollectionViewGroupRoot.cs (32)
185CollectionViewGroupInternal parentGroup = lsi.ParentGroup; 194foreach (CollectionViewGroupInternal group in lsi.ParentGroups) 311CollectionViewGroupInternal parentGroup = lsi.ParentGroup; 322CollectionViewGroupInternal group = parentGroup; 337List<CollectionViewGroupInternal> parentGroups = lsi.ParentGroups; 342foreach (CollectionViewGroupInternal group in parentGroups) 405public CollectionViewGroupInternal Group { get; set; } 415void InitializeGroup(CollectionViewGroupInternal group, GroupDescription parentDescription, int level) 428CollectionViewGroupInternal subgroup = new CollectionViewGroupInternal(explicitNames[k], group, isExplicit: true); 479void AddToSubgroups(object item, LiveShapingItem lsi, CollectionViewGroupInternal group, int level, bool loading) 520void AddToSubgroup(object item, LiveShapingItem lsi, CollectionViewGroupInternal group, int level, object name, bool loading) 522CollectionViewGroupInternal subgroup; 527if (((subgroup = group.GetSubgroupFromMap(groupNameKey) as CollectionViewGroupInternal) != null) && 541subgroup = group.Items[index] as CollectionViewGroupInternal; 580void MoveWithinSubgroups(object item, CollectionViewGroupInternal group, int level, IList list, int oldIndex, int newIndex) 606void MoveWithinSubgroup(object item, CollectionViewGroupInternal group, int level, object name, IList list, int oldIndex, int newIndex) 608CollectionViewGroupInternal subgroup; 623subgroup = group.Items[index] as CollectionViewGroupInternal; 647void MoveWithinSubgroup(object item, CollectionViewGroupInternal group, IList list, int oldIndex, int newIndex) 661object GetGroupNameKey(object name, CollectionViewGroupInternal group) 687bool RemoveFromSubgroups(object item, CollectionViewGroupInternal group, int level) 720bool RemoveFromSubgroup(object item, CollectionViewGroupInternal group, int level, object name) 722CollectionViewGroupInternal subgroup; 726if (((subgroup = group.GetSubgroupFromMap(groupNameKey) as CollectionViewGroupInternal) != null) && 736subgroup = group.Items[index] as CollectionViewGroupInternal; 754bool RemoveFromGroupDirectly(CollectionViewGroupInternal group, object item) 773void RemoveItemFromSubgroupsByExhaustiveSearch(CollectionViewGroupInternal group, object item) 782CollectionViewGroupInternal subgroup = group.Items[k] as CollectionViewGroupInternal; 840public AbandonedGroupItem(LiveShapingItem lsi, CollectionViewGroupInternal group) 847public CollectionViewGroupInternal Group { get { return _group; } } 850CollectionViewGroupInternal _group;
MS\Internal\Data\LiveShapingItem.cs (12)
178internal void AddParentGroup(CollectionViewGroupInternal group) 181List<CollectionViewGroupInternal> list; 187else if ((list = o as List<CollectionViewGroupInternal>) == null) 189list = new List<CollectionViewGroupInternal>(2); 190list.Add(o as CollectionViewGroupInternal); 200internal void RemoveParentGroup(CollectionViewGroupInternal group) 203List<CollectionViewGroupInternal> list = o as List<CollectionViewGroupInternal>; 222internal List<CollectionViewGroupInternal> ParentGroups 224get { return GetValue(ParentGroupsProperty) as List<CollectionViewGroupInternal>; } 227internal CollectionViewGroupInternal ParentGroup 229get { return GetValue(ParentGroupsProperty) as CollectionViewGroupInternal; }
System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (6)
54CollectionViewGroupInternal group = groupItem.GetValue(ItemContainerGenerator.ItemForItemContainerProperty) as CollectionViewGroupInternal; 83CollectionViewGroupInternal group = groupItem.GetValue(ItemContainerGenerator.ItemForItemContainerProperty) as CollectionViewGroupInternal; 304CollectionViewGroupInternal cvg = itemsControl.ItemContainerGenerator.ItemFromContainer(Owner) as CollectionViewGroupInternal;
System\Windows\Automation\Peers\ItemAutomationPeer.cs (2)
380CollectionViewGroupInternal currentGroup = null; 386foreach (CollectionViewGroupInternal group in collection)
System\Windows\Controls\DataGrid.cs (2)
5631CollectionViewGroupInternal cvg = ItemContainerGenerator.ItemFromContainer(currentGroupItem) as CollectionViewGroupInternal;
System\Windows\Controls\ItemsControl.cs (5)
2167if (nextItem == DependencyProperty.UnsetValue || nextItem is CollectionViewGroupInternal) 2348(firstItem == DependencyProperty.UnsetValue || firstItem is CollectionViewGroupInternal)) 2414(firstItem == DependencyProperty.UnsetValue || firstItem is CollectionViewGroupInternal)) 2480(lastItem == DependencyProperty.UnsetValue || lastItem is CollectionViewGroupInternal)) 2884if (returnItem != null && returnItem is CollectionViewGroupInternal)
System\Windows\Data\BindingListCollectionView.cs (3)
2266CollectionViewGroupInternal.IListComparer ilc = _group.ActiveComparer as CollectionViewGroupInternal.IListComparer; 2273_group.ActiveComparer = new CollectionViewGroupInternal.IListComparer(list);
System\Windows\Data\ListCollectionView.cs (3)
2962CollectionViewGroupInternal.IListComparer ilc = _group.ActiveComparer as CollectionViewGroupInternal.IListComparer; 2969_group.ActiveComparer = new CollectionViewGroupInternal.IListComparer(InternalList);