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