4 instantiations of LiveShapingItem
PresentationFramework (4)
src\Framework\MS\Internal\Data\LiveShapingList.cs (3)
236
LiveShapingItem temp = new
LiveShapingItem
(value, this, true, null, true);
309
LiveShapingItem lsi = new
LiveShapingItem
(item, this, true) { FailsFilter = true };
542
_root.Insert(index, new
LiveShapingItem
(value, this));
src\Framework\MS\Internal\Data\LiveShapingTree.cs (1)
96
finger.Node.SetItemAt(finger.Offset, new
LiveShapingItem
(item, List));
104 references to LiveShapingItem
PresentationFramework (104)
src\Framework\MS\Internal\Data\ClrBindingWorker.cs (2)
418
LiveShapingItem
lsi = TargetElement as
LiveShapingItem
;
src\Framework\MS\Internal\Data\CollectionViewGroupRoot.cs (10)
131
internal void AddToSubgroups(object item,
LiveShapingItem
lsi, bool loading)
177
internal void MoveWithinSubgroups(object item,
LiveShapingItem
lsi, IList list, int oldIndex, int newIndex)
240
internal void RestoreGrouping(
LiveShapingItem
lsi, List<AbandonedGroupItem> deleteList)
247
void RestoreGrouping(
LiveShapingItem
lsi, GroupTreeNode node, int level, List<AbandonedGroupItem> deleteList)
314
GroupTreeNode BuildGroupTree(
LiveShapingItem
lsi)
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)
845
public AbandonedGroupItem(
LiveShapingItem
lsi, CollectionViewGroupInternal group)
851
public
LiveShapingItem
Item { get { return _lsi; } }
854
LiveShapingItem
_lsi;
src\Framework\MS\Internal\Data\LiveShapingBlock.cs (28)
22
internal class LiveShapingBlock : RBNode<
LiveShapingItem
>
35
public override
LiveShapingItem
SetItemAt(int offset,
LiveShapingItem
lsi)
43
protected override void Copy(RBNode<
LiveShapingItem
> sourceNode, int sourceOffset, RBNode<
LiveShapingItem
> destNode, int destOffset, int count)
63
internal RBFinger<
LiveShapingItem
> GetFinger(
LiveShapingItem
lsi)
68
return new RBFinger<
LiveShapingItem
>() { Node=this, Offset=offset, Index=baseIndex+offset, Found=true };
74
internal void FindPosition(
LiveShapingItem
item, out RBFinger<
LiveShapingItem
> oldFinger, out RBFinger<
LiveShapingItem
> newFinger, Comparison<
LiveShapingItem
> comparison)
81
LiveShapingItem
lsi;
117
oldFinger = new RBFinger<
LiveShapingItem
>() { Node=this, Offset=index, Index=baseIndex+index, Found=true };
130
LiveShapingItem
leftItem = (left >= 0) ? GetItemAt(left) : null;
131
LiveShapingItem
rightItem = (right < size) ? GetItemAt(right) : null;
189
RBFinger<
LiveShapingItem
> LocalSearch(
LiveShapingItem
item, int left, int right, Comparison<
LiveShapingItem
> comparison)
219
return new RBFinger<
LiveShapingItem
>() { Node = this, Offset = k, Index = index+k };
280
RBFinger<
LiveShapingItem
> SearchLeft(
LiveShapingItem
item, int offset, Comparison<
LiveShapingItem
> comparison)
356
return new RBFinger<
LiveShapingItem
>() { Node=foundBlock, Offset=offset, Index=baseIndex+offset };
361
RBFinger<
LiveShapingItem
> SearchRight(
LiveShapingItem
item, int offset, Comparison<
LiveShapingItem
> comparison)
437
return new RBFinger<
LiveShapingItem
>() { Node=foundBlock, Offset=offset, Index=baseIndex+offset };
src\Framework\MS\Internal\Data\LiveShapingItem.cs (6)
79
internal void FindPosition(out RBFinger<
LiveShapingItem
> oldFinger, out RBFinger<
LiveShapingItem
> newFinger, Comparison<
LiveShapingItem
> comparison)
84
internal RBFinger<
LiveShapingItem
> GetFinger()
90
DependencyProperty.Register("StartingIndex", typeof(int), typeof(
LiveShapingItem
));
179
DependencyProperty.Register("ParentGroups", typeof(object), typeof(
LiveShapingItem
));
src\Framework\MS\Internal\Data\LiveShapingList.cs (32)
95
_sortDirtyItems = new List<
LiveShapingItem
>();
96
_filterDirtyItems = new List<
LiveShapingItem
>();
97
_groupDirtyItems = new List<
LiveShapingItem
>();
236
LiveShapingItem
temp = new LiveShapingItem(value, this, true, null, true);
237
RBFinger<
LiveShapingItem
> finger = _root.BoundedSearch(temp, index, index+count);
249
internal int CompareLiveShapingItems(
LiveShapingItem
x,
LiveShapingItem
y)
309
LiveShapingItem
lsi = new LiveShapingItem(item, this, true) { FailsFilter = true };
314
internal void AddFilteredItem(
LiveShapingItem
lsi)
327
foreach (
LiveShapingItem
lsi in _filterDirtyItems)
338
internal void RemoveFilteredItem(
LiveShapingItem
lsi)
347
LiveShapingItem
lsi = _filterRoot.FindItem(item);
357
LiveShapingItem
lsi = _filterRoot.FindItem(oldItem);
366
internal int IndexOf(
LiveShapingItem
lsi)
373
internal void InitializeItem(
LiveShapingItem
lsi, object item, bool filtered, bool oneTime)
405
internal void ClearItem(
LiveShapingItem
lsi)
422
internal void OnItemPropertyChanged(
LiveShapingItem
lsi, DependencyProperty dp)
452
internal void OnItemPropertyChangedCrossThread(
LiveShapingItem
lsi, DependencyProperty dp)
495
internal void FindPosition(
LiveShapingItem
lsi, out int oldIndex, out int newIndex)
500
internal List<
LiveShapingItem
> SortDirtyItems { get { return _sortDirtyItems; } }
501
internal List<
LiveShapingItem
> FilterDirtyItems { get { return _filterDirtyItems; } }
502
internal List<
LiveShapingItem
> GroupDirtyItems { get { return _groupDirtyItems; } }
504
internal
LiveShapingItem
ItemAt(int index) { return _root[index]; }
566
LiveShapingItem
lsi = _root[index];
657
void ForEach(Action<
LiveShapingItem
> action)
662
void ForEachUntil(Func<
LiveShapingItem
, bool> action)
686
internal bool VerifyLiveSorting(
LiveShapingItem
lsi) { return true; }
758
public ItemEnumerator(IEnumerator<
LiveShapingItem
> ie)
778
IEnumerator<
LiveShapingItem
> _ie;
796
List<
LiveShapingItem
> _sortDirtyItems; // list of items needing sorting fixup
797
List<
LiveShapingItem
> _filterDirtyItems; // list of items needing filtering fixup
798
List<
LiveShapingItem
> _groupDirtyItems; // list of items needing grouping fixup
src\Framework\MS\Internal\Data\LiveShapingTree.cs (14)
18
internal class LiveShapingTree : RBTree<
LiveShapingItem
>
40
internal override RBNode<
LiveShapingItem
> NewNode()
47
LiveShapingItem
lsi = this[oldIndex];
55
RBFinger<
LiveShapingItem
> finger = FindIndex(0);
58
LiveShapingItem
lsi = finger.Item;
64
RBFinger<
LiveShapingItem
> fingerL = LocateItem(finger, Comparison);
82
internal void FindPosition(
LiveShapingItem
lsi, out int oldIndex, out int newIndex)
84
RBFinger<
LiveShapingItem
> oldFinger, newFinger;
93
RBFinger<
LiveShapingItem
> finger = FindIndex(index);
94
LiveShapingItem
lsi = finger.Item;
100
internal
LiveShapingItem
FindItem(object item)
102
RBFinger<
LiveShapingItem
> finger = FindIndex(0);
112
public override int IndexOf(
LiveShapingItem
lsi)
114
RBFinger<
LiveShapingItem
> finger = lsi.GetFinger();
src\Framework\System\Windows\Data\BindingListCollectionView.cs (2)
2301
LiveShapingItem
lsi = isLiveGrouping ? lsList.ItemAt(k) : null;
2415
foreach (
LiveShapingItem
lsi in list.GroupDirtyItems)
src\Framework\System\Windows\Data\ListCollectionView.cs (10)
1237
LiveShapingItem
lsi = (lsList == null) ? null : lsList.ItemAt(lsList.IndexOf(editItem));
1904
LiveShapingItem
lsi;
3003
LiveShapingItem
lsi = (lsList != null) ? lsList.ItemAt(k) : null;
3057
void AddItemToGroups(object item,
LiveShapingItem
lsi)
3095
void MoveItemWithinGroups(object item,
LiveShapingItem
lsi, int oldIndex, int newIndex)
3135
foreach (
LiveShapingItem
lsi in list.SortDirtyItems)
3172
foreach (
LiveShapingItem
lsi in list.FilterDirtyItems)
3245
foreach (
LiveShapingItem
lsi in list.GroupDirtyItems)
3294
LiveShapingItem
lsi = o as
LiveShapingItem
;