1 type derived from CollectionViewGroupInternal
PresentationFramework (1)
src\Framework\MS\Internal\Data\CollectionViewGroupRoot.cs (1)
31
internal class CollectionViewGroupRoot :
CollectionViewGroupInternal
, INotifyCollectionChanged
2 instantiations of CollectionViewGroupInternal
PresentationFramework (2)
src\Framework\MS\Internal\Data\CollectionViewGroupRoot.cs (2)
433
CollectionViewGroupInternal subgroup = new
CollectionViewGroupInternal
(explicitNames[k], group, isExplicit:true);
564
subgroup = new
CollectionViewGroupInternal
(name, group);
100 references to CollectionViewGroupInternal
PresentationFramework (100)
src\Framework\MS\Internal\Data\CollectionViewGroupInternal.cs (35)
34
internal CollectionViewGroupInternal(object name,
CollectionViewGroupInternal
parent, bool isExplicit=false) : base(name)
95
for (
CollectionViewGroupInternal
group = this;
140
CollectionViewGroupInternal
subgroup = Items[k] as
CollectionViewGroupInternal
;
202
CollectionViewGroupInternal
subGroup = item as
CollectionViewGroupInternal
;
242
CollectionViewGroupInternal
subGroup = ProtectedItems[i] as
CollectionViewGroupInternal
;
264
CollectionViewGroupInternal
subgroup = Items[k] as
CollectionViewGroupInternal
;
304
for (
CollectionViewGroupInternal
group = this;
319
CollectionViewGroupInternal
subgroup = group.Items[k] as
CollectionViewGroupInternal
;
334
CollectionViewGroupInternal
subgroup = Items[k] as
CollectionViewGroupInternal
;
414
CollectionViewGroupInternal
subgroup = ProtectedItems[index] as
CollectionViewGroupInternal
;
496
CollectionViewGroupInternal
subgroup = Items[i] as
CollectionViewGroupInternal
;
526
internal void AddSubgroupToMap(object nameKey,
CollectionViewGroupInternal
subgroup)
548
private void RemoveSubgroupFromMap(
CollectionViewGroupInternal
subgroup)
578
internal
CollectionViewGroupInternal
GetSubgroupFromMap(object nameKey)
591
return (weakRef.Target as
CollectionViewGroupInternal
);
701
internal
CollectionViewGroupInternal
Parent
727
for (
CollectionViewGroupInternal
group = this;
763
CollectionViewGroupInternal
_parentGroup;
785
public LeafEnumerator(
CollectionViewGroupInternal
group)
817
CollectionViewGroupInternal
subgroup = _group.Items[_index] as
CollectionViewGroupInternal
;
848
CollectionViewGroupInternal
_group; // parent group
869
public void RemoveEmptyGroup(
CollectionViewGroupInternal
group)
873
_toRemove = new System.Collections.Generic.List<
CollectionViewGroupInternal
>();
882
foreach (
CollectionViewGroupInternal
group in _toRemove)
884
CollectionViewGroupInternal
parent = group.Parent;
898
System.Collections.Generic.List<
CollectionViewGroupInternal
> _toRemove;
src\Framework\MS\Internal\Data\CollectionViewGroupRoot.cs (32)
190
CollectionViewGroupInternal
parentGroup = lsi.ParentGroup;
199
foreach (
CollectionViewGroupInternal
group in lsi.ParentGroups)
316
CollectionViewGroupInternal
parentGroup = lsi.ParentGroup;
327
CollectionViewGroupInternal
group = parentGroup;
342
List<
CollectionViewGroupInternal
> parentGroups = lsi.ParentGroups;
347
foreach (
CollectionViewGroupInternal
group in parentGroups)
410
public
CollectionViewGroupInternal
Group { get; set; }
420
void InitializeGroup(
CollectionViewGroupInternal
group, GroupDescription parentDescription, int level)
433
CollectionViewGroupInternal
subgroup = new CollectionViewGroupInternal(explicitNames[k], group, isExplicit:true);
484
void AddToSubgroups(object item, LiveShapingItem lsi,
CollectionViewGroupInternal
group, int level, bool loading)
525
void AddToSubgroup(object item, LiveShapingItem lsi,
CollectionViewGroupInternal
group, int level, object name, bool loading)
527
CollectionViewGroupInternal
subgroup;
532
if (((subgroup = group.GetSubgroupFromMap(groupNameKey) as
CollectionViewGroupInternal
) != null) &&
546
subgroup = group.Items[index] as
CollectionViewGroupInternal
;
585
void MoveWithinSubgroups(object item,
CollectionViewGroupInternal
group, int level, IList list, int oldIndex, int newIndex)
611
void MoveWithinSubgroup(object item,
CollectionViewGroupInternal
group, int level, object name, IList list, int oldIndex, int newIndex)
613
CollectionViewGroupInternal
subgroup;
628
subgroup = group.Items[index] as
CollectionViewGroupInternal
;
652
void MoveWithinSubgroup(object item,
CollectionViewGroupInternal
group, IList list, int oldIndex, int newIndex)
666
object GetGroupNameKey(object name,
CollectionViewGroupInternal
group)
692
bool RemoveFromSubgroups(object item,
CollectionViewGroupInternal
group, int level)
725
bool RemoveFromSubgroup(object item,
CollectionViewGroupInternal
group, int level, object name)
727
CollectionViewGroupInternal
subgroup;
731
if (((subgroup = group.GetSubgroupFromMap(groupNameKey) as
CollectionViewGroupInternal
) != null) &&
741
subgroup = group.Items[index] as
CollectionViewGroupInternal
;
759
bool RemoveFromGroupDirectly(
CollectionViewGroupInternal
group, object item)
778
void RemoveItemFromSubgroupsByExhaustiveSearch(
CollectionViewGroupInternal
group, object item)
787
CollectionViewGroupInternal
subgroup = group.Items[k] as
CollectionViewGroupInternal
;
845
public AbandonedGroupItem(LiveShapingItem lsi,
CollectionViewGroupInternal
group)
852
public
CollectionViewGroupInternal
Group { get { return _group; } }
855
CollectionViewGroupInternal
_group;
src\Framework\MS\Internal\Data\LiveShapingItem.cs (12)
181
internal void AddParentGroup(
CollectionViewGroupInternal
group)
184
List<
CollectionViewGroupInternal
> list;
190
else if ((list = o as List<
CollectionViewGroupInternal
>) == null)
192
list = new List<
CollectionViewGroupInternal
>(2);
193
list.Add(o as
CollectionViewGroupInternal
);
203
internal void RemoveParentGroup(
CollectionViewGroupInternal
group)
206
List<
CollectionViewGroupInternal
> list = o as List<
CollectionViewGroupInternal
>;
225
internal List<
CollectionViewGroupInternal
> ParentGroups
227
get { return GetValue(ParentGroupsProperty) as List<
CollectionViewGroupInternal
>; }
230
internal
CollectionViewGroupInternal
ParentGroup
232
get { return GetValue(ParentGroupsProperty) as
CollectionViewGroupInternal
; }
src\Framework\System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (6)
50
CollectionViewGroupInternal
group = groupItem.GetValue(ItemContainerGenerator.ItemForItemContainerProperty) as
CollectionViewGroupInternal
;
79
CollectionViewGroupInternal
group = groupItem.GetValue(ItemContainerGenerator.ItemForItemContainerProperty) as
CollectionViewGroupInternal
;
290
CollectionViewGroupInternal
cvg = itemsControl.ItemContainerGenerator.ItemFromContainer(Owner) as
CollectionViewGroupInternal
;
src\Framework\System\Windows\Automation\Peers\ItemAutomationPeer.cs (2)
343
CollectionViewGroupInternal
currentGroup = null;
349
foreach (
CollectionViewGroupInternal
group in collection)
src\Framework\System\Windows\Controls\DataGrid.cs (2)
5636
CollectionViewGroupInternal
cvg = ItemContainerGenerator.ItemFromContainer(currentGroupItem) as
CollectionViewGroupInternal
;
src\Framework\System\Windows\Controls\ItemsControl.cs (5)
2170
if (nextItem == DependencyProperty.UnsetValue || nextItem is
CollectionViewGroupInternal
)
2351
(firstItem == DependencyProperty.UnsetValue || firstItem is
CollectionViewGroupInternal
))
2417
(firstItem == DependencyProperty.UnsetValue || firstItem is
CollectionViewGroupInternal
))
2483
(lastItem == DependencyProperty.UnsetValue || lastItem is
CollectionViewGroupInternal
))
2887
if (returnItem != null && returnItem is
CollectionViewGroupInternal
)
src\Framework\System\Windows\Data\BindingListCollectionView.cs (3)
2273
CollectionViewGroupInternal
.IListComparer ilc = _group.ActiveComparer as
CollectionViewGroupInternal
.IListComparer;
2280
_group.ActiveComparer = new
CollectionViewGroupInternal
.IListComparer(list);
src\Framework\System\Windows\Data\ListCollectionView.cs (3)
2975
CollectionViewGroupInternal
.IListComparer ilc = _group.ActiveComparer as
CollectionViewGroupInternal
.IListComparer;
2982
_group.ActiveComparer = new
CollectionViewGroupInternal
.IListComparer(InternalList);