1 type derived from CollectionViewGroupInternal
PresentationFramework (1)
MS\Internal\Data\CollectionViewGroupRoot.cs (1)
24
internal class CollectionViewGroupRoot :
CollectionViewGroupInternal
, INotifyCollectionChanged
2 instantiations of CollectionViewGroupInternal
PresentationFramework (2)
MS\Internal\Data\CollectionViewGroupRoot.cs (2)
425
CollectionViewGroupInternal subgroup = new
CollectionViewGroupInternal
(explicitNames[k], group, isExplicit: true);
556
subgroup = new
CollectionViewGroupInternal
(name, group);
101 references to CollectionViewGroupInternal
PresentationFramework (101)
MS\Internal\Data\CollectionViewGroupInternal.cs (36)
29
internal CollectionViewGroupInternal(object name,
CollectionViewGroupInternal
parent, bool isExplicit = false) : base(name)
90
for (
CollectionViewGroupInternal
group = (
CollectionViewGroupInternal
)state;
135
CollectionViewGroupInternal
subgroup = Items[k] as
CollectionViewGroupInternal
;
197
CollectionViewGroupInternal
subGroup = item as
CollectionViewGroupInternal
;
237
CollectionViewGroupInternal
subGroup = ProtectedItems[i] as
CollectionViewGroupInternal
;
259
CollectionViewGroupInternal
subgroup = Items[k] as
CollectionViewGroupInternal
;
299
for (
CollectionViewGroupInternal
group = this;
314
CollectionViewGroupInternal
subgroup = group.Items[k] as
CollectionViewGroupInternal
;
329
CollectionViewGroupInternal
subgroup = Items[k] as
CollectionViewGroupInternal
;
409
CollectionViewGroupInternal
subgroup = ProtectedItems[index] as
CollectionViewGroupInternal
;
491
CollectionViewGroupInternal
subgroup = Items[i] as
CollectionViewGroupInternal
;
521
internal void AddSubgroupToMap(object nameKey,
CollectionViewGroupInternal
subgroup)
543
private void RemoveSubgroupFromMap(
CollectionViewGroupInternal
subgroup)
573
internal
CollectionViewGroupInternal
GetSubgroupFromMap(object nameKey)
586
return (weakRef.Target as
CollectionViewGroupInternal
);
696
internal
CollectionViewGroupInternal
Parent
722
for (
CollectionViewGroupInternal
group = this;
758
CollectionViewGroupInternal
_parentGroup;
780
public LeafEnumerator(
CollectionViewGroupInternal
group)
812
CollectionViewGroupInternal
subgroup = _group.Items[_index] as
CollectionViewGroupInternal
;
843
CollectionViewGroupInternal
_group; // parent group
864
public void RemoveEmptyGroup(
CollectionViewGroupInternal
group)
868
_toRemove = new System.Collections.Generic.List<
CollectionViewGroupInternal
>();
877
foreach (
CollectionViewGroupInternal
group in _toRemove)
879
CollectionViewGroupInternal
parent = group.Parent;
893
System.Collections.Generic.List<
CollectionViewGroupInternal
> _toRemove;
MS\Internal\Data\CollectionViewGroupRoot.cs (32)
182
CollectionViewGroupInternal
parentGroup = lsi.ParentGroup;
191
foreach (
CollectionViewGroupInternal
group in lsi.ParentGroups)
308
CollectionViewGroupInternal
parentGroup = lsi.ParentGroup;
319
CollectionViewGroupInternal
group = parentGroup;
334
List<
CollectionViewGroupInternal
> parentGroups = lsi.ParentGroups;
339
foreach (
CollectionViewGroupInternal
group in parentGroups)
402
public
CollectionViewGroupInternal
Group { get; set; }
412
void InitializeGroup(
CollectionViewGroupInternal
group, GroupDescription parentDescription, int level)
425
CollectionViewGroupInternal
subgroup = new CollectionViewGroupInternal(explicitNames[k], group, isExplicit: true);
476
void AddToSubgroups(object item, LiveShapingItem lsi,
CollectionViewGroupInternal
group, int level, bool loading)
517
void AddToSubgroup(object item, LiveShapingItem lsi,
CollectionViewGroupInternal
group, int level, object name, bool loading)
519
CollectionViewGroupInternal
subgroup;
524
if (((subgroup = group.GetSubgroupFromMap(groupNameKey) as
CollectionViewGroupInternal
) != null) &&
538
subgroup = group.Items[index] as
CollectionViewGroupInternal
;
577
void MoveWithinSubgroups(object item,
CollectionViewGroupInternal
group, int level, IList list, int oldIndex, int newIndex)
603
void MoveWithinSubgroup(object item,
CollectionViewGroupInternal
group, int level, object name, IList list, int oldIndex, int newIndex)
605
CollectionViewGroupInternal
subgroup;
620
subgroup = group.Items[index] as
CollectionViewGroupInternal
;
644
void MoveWithinSubgroup(object item,
CollectionViewGroupInternal
group, IList list, int oldIndex, int newIndex)
658
object GetGroupNameKey(object name,
CollectionViewGroupInternal
group)
684
bool RemoveFromSubgroups(object item,
CollectionViewGroupInternal
group, int level)
717
bool RemoveFromSubgroup(object item,
CollectionViewGroupInternal
group, int level, object name)
719
CollectionViewGroupInternal
subgroup;
723
if (((subgroup = group.GetSubgroupFromMap(groupNameKey) as
CollectionViewGroupInternal
) != null) &&
733
subgroup = group.Items[index] as
CollectionViewGroupInternal
;
751
bool RemoveFromGroupDirectly(
CollectionViewGroupInternal
group, object item)
770
void RemoveItemFromSubgroupsByExhaustiveSearch(
CollectionViewGroupInternal
group, object item)
779
CollectionViewGroupInternal
subgroup = group.Items[k] as
CollectionViewGroupInternal
;
837
public AbandonedGroupItem(LiveShapingItem lsi,
CollectionViewGroupInternal
group)
844
public
CollectionViewGroupInternal
Group { get { return _group; } }
847
CollectionViewGroupInternal
_group;
MS\Internal\Data\LiveShapingItem.cs (12)
175
internal void AddParentGroup(
CollectionViewGroupInternal
group)
178
List<
CollectionViewGroupInternal
> list;
184
else if ((list = o as List<
CollectionViewGroupInternal
>) == null)
186
list = new List<
CollectionViewGroupInternal
>(2);
187
list.Add(o as
CollectionViewGroupInternal
);
197
internal void RemoveParentGroup(
CollectionViewGroupInternal
group)
200
List<
CollectionViewGroupInternal
> list = o as List<
CollectionViewGroupInternal
>;
219
internal List<
CollectionViewGroupInternal
> ParentGroups
221
get { return GetValue(ParentGroupsProperty) as List<
CollectionViewGroupInternal
>; }
224
internal
CollectionViewGroupInternal
ParentGroup
226
get { return GetValue(ParentGroupsProperty) as
CollectionViewGroupInternal
; }
System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (6)
42
CollectionViewGroupInternal
group = groupItem.GetValue(ItemContainerGenerator.ItemForItemContainerProperty) as
CollectionViewGroupInternal
;
71
CollectionViewGroupInternal
group = groupItem.GetValue(ItemContainerGenerator.ItemForItemContainerProperty) as
CollectionViewGroupInternal
;
292
CollectionViewGroupInternal
cvg = itemsControl.ItemContainerGenerator.ItemFromContainer(Owner) as
CollectionViewGroupInternal
;
System\Windows\Automation\Peers\ItemAutomationPeer.cs (2)
370
CollectionViewGroupInternal
currentGroup = null;
376
foreach (
CollectionViewGroupInternal
group in collection)
System\Windows\Controls\DataGrid.cs (2)
5628
CollectionViewGroupInternal
cvg = ItemContainerGenerator.ItemFromContainer(currentGroupItem) as
CollectionViewGroupInternal
;
System\Windows\Controls\ItemsControl.cs (5)
2158
if (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
))
2875
if (returnItem != null && returnItem is
CollectionViewGroupInternal
)
System\Windows\Data\BindingListCollectionView.cs (3)
2261
CollectionViewGroupInternal
.IListComparer ilc = _group.ActiveComparer as
CollectionViewGroupInternal
.IListComparer;
2268
_group.ActiveComparer = new
CollectionViewGroupInternal
.IListComparer(list);
System\Windows\Data\ListCollectionView.cs (3)
2956
CollectionViewGroupInternal
.IListComparer ilc = _group.ActiveComparer as
CollectionViewGroupInternal
.IListComparer;
2963
_group.ActiveComparer = new
CollectionViewGroupInternal
.IListComparer(InternalList);