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