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)
29internal CollectionViewGroupInternal(object name, CollectionViewGroupInternal parent, bool isExplicit = false) : base(name) 90for (CollectionViewGroupInternal group = (CollectionViewGroupInternal)state; 135CollectionViewGroupInternal subgroup = Items[k] as CollectionViewGroupInternal; 197CollectionViewGroupInternal subGroup = item as CollectionViewGroupInternal; 237CollectionViewGroupInternal subGroup = ProtectedItems[i] as CollectionViewGroupInternal; 259CollectionViewGroupInternal subgroup = Items[k] as CollectionViewGroupInternal; 299for (CollectionViewGroupInternal group = this; 314CollectionViewGroupInternal subgroup = group.Items[k] as CollectionViewGroupInternal; 329CollectionViewGroupInternal subgroup = Items[k] as CollectionViewGroupInternal; 409CollectionViewGroupInternal subgroup = ProtectedItems[index] as CollectionViewGroupInternal; 491CollectionViewGroupInternal subgroup = Items[i] as CollectionViewGroupInternal; 521internal void AddSubgroupToMap(object nameKey, CollectionViewGroupInternal subgroup) 543private void RemoveSubgroupFromMap(CollectionViewGroupInternal subgroup) 573internal CollectionViewGroupInternal GetSubgroupFromMap(object nameKey) 586return (weakRef.Target as CollectionViewGroupInternal); 696internal CollectionViewGroupInternal Parent 722for (CollectionViewGroupInternal group = this; 758CollectionViewGroupInternal _parentGroup; 780public LeafEnumerator(CollectionViewGroupInternal group) 812CollectionViewGroupInternal subgroup = _group.Items[_index] as CollectionViewGroupInternal; 843CollectionViewGroupInternal _group; // parent group 864public void RemoveEmptyGroup(CollectionViewGroupInternal group) 868_toRemove = new System.Collections.Generic.List<CollectionViewGroupInternal>(); 877foreach (CollectionViewGroupInternal group in _toRemove) 879CollectionViewGroupInternal parent = group.Parent; 893System.Collections.Generic.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)
175internal void AddParentGroup(CollectionViewGroupInternal group) 178List<CollectionViewGroupInternal> list; 184else if ((list = o as List<CollectionViewGroupInternal>) == null) 186list = new List<CollectionViewGroupInternal>(2); 187list.Add(o as CollectionViewGroupInternal); 197internal void RemoveParentGroup(CollectionViewGroupInternal group) 200List<CollectionViewGroupInternal> list = o as List<CollectionViewGroupInternal>; 219internal List<CollectionViewGroupInternal> ParentGroups 221get { return GetValue(ParentGroupsProperty) as List<CollectionViewGroupInternal>; } 224internal CollectionViewGroupInternal ParentGroup 226get { 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)
5628CollectionViewGroupInternal 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);