4 instantiations of LiveShapingItem
PresentationFramework (4)
MS\Internal\Data\LiveShapingList.cs (3)
229
LiveShapingItem temp = new
LiveShapingItem
(value, this, true, null, true);
302
LiveShapingItem lsi = new
LiveShapingItem
(item, this, true) { FailsFilter = true };
535
_root.Insert(index, new
LiveShapingItem
(value, this));
MS\Internal\Data\LiveShapingTree.cs (1)
93
finger.Node.SetItemAt(finger.Offset, new
LiveShapingItem
(item, List));
106 references to LiveShapingItem
PresentationFramework (106)
MS\Internal\Data\ClrBindingWorker.cs (2)
407
LiveShapingItem
lsi = TargetElement as
LiveShapingItem
;
MS\Internal\Data\CollectionViewGroupRoot.cs (10)
123
internal void AddToSubgroups(object item,
LiveShapingItem
lsi, bool loading)
169
internal void MoveWithinSubgroups(object item,
LiveShapingItem
lsi, IList list, int oldIndex, int newIndex)
232
internal void RestoreGrouping(
LiveShapingItem
lsi, List<AbandonedGroupItem> deleteList)
239
void RestoreGrouping(
LiveShapingItem
lsi, GroupTreeNode node, int level, List<AbandonedGroupItem> deleteList)
306
GroupTreeNode BuildGroupTree(
LiveShapingItem
lsi)
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)
837
public AbandonedGroupItem(
LiveShapingItem
lsi, CollectionViewGroupInternal group)
843
public
LiveShapingItem
Item { get { return _lsi; } }
846
LiveShapingItem
_lsi;
MS\Internal\Data\LiveShapingBlock.cs (28)
11
internal class LiveShapingBlock : RBNode<
LiveShapingItem
>
24
public override
LiveShapingItem
SetItemAt(int offset,
LiveShapingItem
lsi)
32
protected override void Copy(RBNode<
LiveShapingItem
> sourceNode, int sourceOffset, RBNode<
LiveShapingItem
> destNode, int destOffset, int count)
52
internal RBFinger<
LiveShapingItem
> GetFinger(
LiveShapingItem
lsi)
57
return new RBFinger<
LiveShapingItem
>() { Node = this, Offset = offset, Index = baseIndex + offset, Found = true };
63
internal void FindPosition(
LiveShapingItem
item, out RBFinger<
LiveShapingItem
> oldFinger, out RBFinger<
LiveShapingItem
> newFinger, Comparison<
LiveShapingItem
> comparison)
70
LiveShapingItem
lsi;
106
oldFinger = new RBFinger<
LiveShapingItem
>() { Node = this, Offset = index, Index = baseIndex + index, Found = true };
119
LiveShapingItem
leftItem = (left >= 0) ? GetItemAt(left) : null;
120
LiveShapingItem
rightItem = (right < size) ? GetItemAt(right) : null;
178
RBFinger<
LiveShapingItem
> LocalSearch(
LiveShapingItem
item, int left, int right, Comparison<
LiveShapingItem
> comparison)
208
return new RBFinger<
LiveShapingItem
>() { Node = this, Offset = k, Index = index + k };
269
RBFinger<
LiveShapingItem
> SearchLeft(
LiveShapingItem
item, int offset, Comparison<
LiveShapingItem
> comparison)
345
return new RBFinger<
LiveShapingItem
>() { Node = foundBlock, Offset = offset, Index = baseIndex + offset };
350
RBFinger<
LiveShapingItem
> SearchRight(
LiveShapingItem
item, int offset, Comparison<
LiveShapingItem
> comparison)
426
return new RBFinger<
LiveShapingItem
>() { Node = foundBlock, Offset = offset, Index = baseIndex + offset };
MS\Internal\Data\LiveShapingItem.cs (6)
73
internal void FindPosition(out RBFinger<
LiveShapingItem
> oldFinger, out RBFinger<
LiveShapingItem
> newFinger, Comparison<
LiveShapingItem
> comparison)
78
internal RBFinger<
LiveShapingItem
> GetFinger()
84
DependencyProperty.Register("StartingIndex", typeof(int), typeof(
LiveShapingItem
));
175
DependencyProperty.Register("ParentGroups", typeof(object), typeof(
LiveShapingItem
));
MS\Internal\Data\LiveShapingList.cs (32)
88
_sortDirtyItems = new List<
LiveShapingItem
>();
89
_filterDirtyItems = new List<
LiveShapingItem
>();
90
_groupDirtyItems = new List<
LiveShapingItem
>();
229
LiveShapingItem
temp = new LiveShapingItem(value, this, true, null, true);
230
RBFinger<
LiveShapingItem
> finger = _root.BoundedSearch(temp, index, index + count);
242
internal int CompareLiveShapingItems(
LiveShapingItem
x,
LiveShapingItem
y)
302
LiveShapingItem
lsi = new LiveShapingItem(item, this, true) { FailsFilter = true };
307
internal void AddFilteredItem(
LiveShapingItem
lsi)
320
foreach (
LiveShapingItem
lsi in _filterDirtyItems)
331
internal void RemoveFilteredItem(
LiveShapingItem
lsi)
340
LiveShapingItem
lsi = _filterRoot.FindItem(item);
350
LiveShapingItem
lsi = _filterRoot.FindItem(oldItem);
359
internal int IndexOf(
LiveShapingItem
lsi)
366
internal void InitializeItem(
LiveShapingItem
lsi, object item, bool filtered, bool oneTime)
398
internal void ClearItem(
LiveShapingItem
lsi)
415
internal void OnItemPropertyChanged(
LiveShapingItem
lsi, DependencyProperty dp)
445
internal void OnItemPropertyChangedCrossThread(
LiveShapingItem
lsi, DependencyProperty dp)
488
internal void FindPosition(
LiveShapingItem
lsi, out int oldIndex, out int newIndex)
493
internal List<
LiveShapingItem
> SortDirtyItems { get { return _sortDirtyItems; } }
494
internal List<
LiveShapingItem
> FilterDirtyItems { get { return _filterDirtyItems; } }
495
internal List<
LiveShapingItem
> GroupDirtyItems { get { return _groupDirtyItems; } }
497
internal
LiveShapingItem
ItemAt(int index) { return _root[index]; }
559
LiveShapingItem
lsi = _root[index];
650
void ForEach(Action<
LiveShapingItem
> action)
655
void ForEachUntil(Func<
LiveShapingItem
, bool> action)
665
internal bool VerifyLiveSorting(
LiveShapingItem
lsi)
750
public ItemEnumerator(IEnumerator<
LiveShapingItem
> ie)
770
IEnumerator<
LiveShapingItem
> _ie;
788
List<
LiveShapingItem
> _sortDirtyItems; // list of items needing sorting fixup
789
List<
LiveShapingItem
> _filterDirtyItems; // list of items needing filtering fixup
790
List<
LiveShapingItem
> _groupDirtyItems; // list of items needing grouping fixup
MS\Internal\Data\LiveShapingTree.cs (16)
13
internal class LiveShapingTree : RBTree<
LiveShapingItem
>
37
internal override RBNode<
LiveShapingItem
> NewNode()
44
LiveShapingItem
lsi = this[oldIndex];
52
RBFinger<
LiveShapingItem
> finger = FindIndex(0);
55
LiveShapingItem
lsi = finger.Item;
61
RBFinger<
LiveShapingItem
> fingerL = LocateItem(finger, Comparison);
79
internal void FindPosition(
LiveShapingItem
lsi, out int oldIndex, out int newIndex)
81
RBFinger<
LiveShapingItem
> oldFinger, newFinger;
90
RBFinger<
LiveShapingItem
> finger = FindIndex(index);
91
LiveShapingItem
lsi = finger.Item;
97
internal
LiveShapingItem
FindItem(object item)
99
RBFinger<
LiveShapingItem
> finger = FindIndex(0);
109
public override int IndexOf(
LiveShapingItem
lsi)
111
RBFinger<
LiveShapingItem
> finger = lsi.GetFinger();
119
internal bool VerifyPosition(
LiveShapingItem
lsi)
123
RBFinger<
LiveShapingItem
> finger = lsi.GetFinger();
System\Windows\Data\BindingListCollectionView.cs (2)
2289
LiveShapingItem
lsi = isLiveGrouping ? lsList.ItemAt(k) : null;
2403
foreach (
LiveShapingItem
lsi in list.GroupDirtyItems)
System\Windows\Data\ListCollectionView.cs (10)
1223
LiveShapingItem
lsi = (lsList == null) ? null : lsList.ItemAt(lsList.IndexOf(editItem));
1889
LiveShapingItem
lsi;
2984
LiveShapingItem
lsi = (lsList != null) ? lsList.ItemAt(k) : null;
3038
void AddItemToGroups(object item,
LiveShapingItem
lsi)
3076
void MoveItemWithinGroups(object item,
LiveShapingItem
lsi, int oldIndex, int newIndex)
3116
foreach (
LiveShapingItem
lsi in list.SortDirtyItems)
3153
foreach (
LiveShapingItem
lsi in list.FilterDirtyItems)
3226
foreach (
LiveShapingItem
lsi in list.GroupDirtyItems)
3275
LiveShapingItem
lsi = o as
LiveShapingItem
;