1 type derived from CollectionViewGroupInternal
PresentationFramework (1)
MS\Internal\Data\CollectionViewGroupRoot.cs (1)
24internal class CollectionViewGroupRoot : CollectionViewGroupInternal, INotifyCollectionChanged
2 instantiations of CollectionViewGroupInternal
PresentationFramework (2)
MS\Internal\Data\CollectionViewGroupRoot.cs (2)
425CollectionViewGroupInternal subgroup = new CollectionViewGroupInternal(explicitNames[k], group, isExplicit: true); 556subgroup = new CollectionViewGroupInternal(name, group);
101 references to CollectionViewGroupInternal
PresentationFramework (101)
MS\Internal\Data\CollectionViewGroupInternal.cs (36)
30internal CollectionViewGroupInternal(object name, CollectionViewGroupInternal parent, bool isExplicit = false) : base(name) 91for (CollectionViewGroupInternal group = (CollectionViewGroupInternal)state; 136CollectionViewGroupInternal subgroup = Items[k] as CollectionViewGroupInternal; 198CollectionViewGroupInternal subGroup = item as CollectionViewGroupInternal; 238CollectionViewGroupInternal subGroup = ProtectedItems[i] as CollectionViewGroupInternal; 260CollectionViewGroupInternal subgroup = Items[k] as CollectionViewGroupInternal; 300for (CollectionViewGroupInternal group = this; 315CollectionViewGroupInternal subgroup = group.Items[k] as CollectionViewGroupInternal; 330CollectionViewGroupInternal subgroup = Items[k] as CollectionViewGroupInternal; 410CollectionViewGroupInternal subgroup = ProtectedItems[index] as CollectionViewGroupInternal; 492CollectionViewGroupInternal subgroup = Items[i] as CollectionViewGroupInternal; 522internal void AddSubgroupToMap(object nameKey, CollectionViewGroupInternal subgroup) 543private void RemoveSubgroupFromMap(CollectionViewGroupInternal subgroup) 566internal CollectionViewGroupInternal GetSubgroupFromMap(object nameKey) 576return weakRef.Target as CollectionViewGroupInternal; 679internal CollectionViewGroupInternal Parent 705for (CollectionViewGroupInternal group = this; 740private readonly CollectionViewGroupInternal _parentGroup; 765public LeafEnumerator(CollectionViewGroupInternal group) 797CollectionViewGroupInternal subgroup = _group.Items[_index] as CollectionViewGroupInternal; 828CollectionViewGroupInternal _group; // parent group 849public void RemoveEmptyGroup(CollectionViewGroupInternal group) 853_toRemove = new List<CollectionViewGroupInternal>(); 862foreach (CollectionViewGroupInternal group in _toRemove) 864CollectionViewGroupInternal parent = group.Parent; 878private List<CollectionViewGroupInternal> _toRemove;
MS\Internal\Data\CollectionViewGroupRoot.cs (32)
182CollectionViewGroupInternal parentGroup = lsi.ParentGroup; 191foreach (CollectionViewGroupInternal group in lsi.ParentGroups) 308CollectionViewGroupInternal parentGroup = lsi.ParentGroup; 319CollectionViewGroupInternal group = parentGroup; 334List<CollectionViewGroupInternal> parentGroups = lsi.ParentGroups; 339foreach (CollectionViewGroupInternal group in parentGroups) 402public CollectionViewGroupInternal Group { get; set; } 412void InitializeGroup(CollectionViewGroupInternal group, GroupDescription parentDescription, int level) 425CollectionViewGroupInternal subgroup = new CollectionViewGroupInternal(explicitNames[k], group, isExplicit: true); 476void AddToSubgroups(object item, LiveShapingItem lsi, CollectionViewGroupInternal group, int level, bool loading) 517void AddToSubgroup(object item, LiveShapingItem lsi, CollectionViewGroupInternal group, int level, object name, bool loading) 519CollectionViewGroupInternal subgroup; 524if (((subgroup = group.GetSubgroupFromMap(groupNameKey) as CollectionViewGroupInternal) != null) && 538subgroup = group.Items[index] as CollectionViewGroupInternal; 577void MoveWithinSubgroups(object item, CollectionViewGroupInternal group, int level, IList list, int oldIndex, int newIndex) 603void MoveWithinSubgroup(object item, CollectionViewGroupInternal group, int level, object name, IList list, int oldIndex, int newIndex) 605CollectionViewGroupInternal subgroup; 620subgroup = group.Items[index] as CollectionViewGroupInternal; 644void MoveWithinSubgroup(object item, CollectionViewGroupInternal group, IList list, int oldIndex, int newIndex) 658object GetGroupNameKey(object name, CollectionViewGroupInternal group) 684bool RemoveFromSubgroups(object item, CollectionViewGroupInternal group, int level) 717bool RemoveFromSubgroup(object item, CollectionViewGroupInternal group, int level, object name) 719CollectionViewGroupInternal subgroup; 723if (((subgroup = group.GetSubgroupFromMap(groupNameKey) as CollectionViewGroupInternal) != null) && 733subgroup = group.Items[index] as CollectionViewGroupInternal; 751bool RemoveFromGroupDirectly(CollectionViewGroupInternal group, object item) 770void RemoveItemFromSubgroupsByExhaustiveSearch(CollectionViewGroupInternal group, object item) 779CollectionViewGroupInternal subgroup = group.Items[k] as CollectionViewGroupInternal; 837public AbandonedGroupItem(LiveShapingItem lsi, CollectionViewGroupInternal group) 844public CollectionViewGroupInternal Group { get { return _group; } } 847CollectionViewGroupInternal _group;
MS\Internal\Data\LiveShapingItem.cs (12)
177internal void AddParentGroup(CollectionViewGroupInternal group) 180List<CollectionViewGroupInternal> list; 186else if ((list = o as List<CollectionViewGroupInternal>) == null) 188list = new List<CollectionViewGroupInternal>(2); 189list.Add(o as CollectionViewGroupInternal); 199internal void RemoveParentGroup(CollectionViewGroupInternal group) 202List<CollectionViewGroupInternal> list = o as List<CollectionViewGroupInternal>; 221internal List<CollectionViewGroupInternal> ParentGroups 223get { return GetValue(ParentGroupsProperty) as List<CollectionViewGroupInternal>; } 226internal CollectionViewGroupInternal ParentGroup 228get { return GetValue(ParentGroupsProperty) as CollectionViewGroupInternal; }
System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (6)
42CollectionViewGroupInternal group = groupItem.GetValue(ItemContainerGenerator.ItemForItemContainerProperty) as CollectionViewGroupInternal; 71CollectionViewGroupInternal group = groupItem.GetValue(ItemContainerGenerator.ItemForItemContainerProperty) as CollectionViewGroupInternal; 292CollectionViewGroupInternal cvg = itemsControl.ItemContainerGenerator.ItemFromContainer(Owner) as CollectionViewGroupInternal;
System\Windows\Automation\Peers\ItemAutomationPeer.cs (2)
370CollectionViewGroupInternal currentGroup = null; 376foreach (CollectionViewGroupInternal group in collection)
System\Windows\Controls\DataGrid.cs (2)
5632CollectionViewGroupInternal cvg = ItemContainerGenerator.ItemFromContainer(currentGroupItem) as CollectionViewGroupInternal;
System\Windows\Controls\ItemsControl.cs (5)
2158if (nextItem == DependencyProperty.UnsetValue || nextItem is CollectionViewGroupInternal) 2339(firstItem == DependencyProperty.UnsetValue || firstItem is CollectionViewGroupInternal)) 2405(firstItem == DependencyProperty.UnsetValue || firstItem is CollectionViewGroupInternal)) 2471(lastItem == DependencyProperty.UnsetValue || lastItem is CollectionViewGroupInternal)) 2875if (returnItem != null && returnItem is CollectionViewGroupInternal)
System\Windows\Data\BindingListCollectionView.cs (3)
2261CollectionViewGroupInternal.IListComparer ilc = _group.ActiveComparer as CollectionViewGroupInternal.IListComparer; 2268_group.ActiveComparer = new CollectionViewGroupInternal.IListComparer(list);
System\Windows\Data\ListCollectionView.cs (3)
2956CollectionViewGroupInternal.IListComparer ilc = _group.ActiveComparer as CollectionViewGroupInternal.IListComparer; 2963_group.ActiveComparer = new CollectionViewGroupInternal.IListComparer(InternalList);