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)
30
internal CollectionViewGroupInternal(object name,
CollectionViewGroupInternal
parent, bool isExplicit = false) : base(name)
91
for (
CollectionViewGroupInternal
group = (
CollectionViewGroupInternal
)state;
136
CollectionViewGroupInternal
subgroup = Items[k] as
CollectionViewGroupInternal
;
198
CollectionViewGroupInternal
subGroup = item as
CollectionViewGroupInternal
;
238
CollectionViewGroupInternal
subGroup = ProtectedItems[i] as
CollectionViewGroupInternal
;
260
CollectionViewGroupInternal
subgroup = Items[k] as
CollectionViewGroupInternal
;
300
for (
CollectionViewGroupInternal
group = this;
315
CollectionViewGroupInternal
subgroup = group.Items[k] as
CollectionViewGroupInternal
;
330
CollectionViewGroupInternal
subgroup = Items[k] as
CollectionViewGroupInternal
;
410
CollectionViewGroupInternal
subgroup = ProtectedItems[index] as
CollectionViewGroupInternal
;
492
CollectionViewGroupInternal
subgroup = Items[i] as
CollectionViewGroupInternal
;
522
internal void AddSubgroupToMap(object nameKey,
CollectionViewGroupInternal
subgroup)
543
private void RemoveSubgroupFromMap(
CollectionViewGroupInternal
subgroup)
566
internal
CollectionViewGroupInternal
GetSubgroupFromMap(object nameKey)
576
return weakRef.Target as
CollectionViewGroupInternal
;
679
internal
CollectionViewGroupInternal
Parent
705
for (
CollectionViewGroupInternal
group = this;
740
private readonly
CollectionViewGroupInternal
_parentGroup;
765
public LeafEnumerator(
CollectionViewGroupInternal
group)
797
CollectionViewGroupInternal
subgroup = _group.Items[_index] as
CollectionViewGroupInternal
;
828
CollectionViewGroupInternal
_group; // parent group
849
public void RemoveEmptyGroup(
CollectionViewGroupInternal
group)
853
_toRemove = new List<
CollectionViewGroupInternal
>();
862
foreach (
CollectionViewGroupInternal
group in _toRemove)
864
CollectionViewGroupInternal
parent = group.Parent;
878
private 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)
177
internal void AddParentGroup(
CollectionViewGroupInternal
group)
180
List<
CollectionViewGroupInternal
> list;
186
else if ((list = o as List<
CollectionViewGroupInternal
>) == null)
188
list = new List<
CollectionViewGroupInternal
>(2);
189
list.Add(o as
CollectionViewGroupInternal
);
199
internal void RemoveParentGroup(
CollectionViewGroupInternal
group)
202
List<
CollectionViewGroupInternal
> list = o as List<
CollectionViewGroupInternal
>;
221
internal List<
CollectionViewGroupInternal
> ParentGroups
223
get { return GetValue(ParentGroupsProperty) as List<
CollectionViewGroupInternal
>; }
226
internal
CollectionViewGroupInternal
ParentGroup
228
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)
5632
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);