92 references to EqualsEx
PresentationFramework (92)
MS\Internal\Controls\InnerItemCollectionView.cs (1)
448if (ItemsControl.EqualsEx(CurrentItem, item))
MS\Internal\Data\CollectionViewGroupInternal.cs (6)
277if (System.Windows.Controls.ItemsControl.EqualsEx(item, Items[k])) 309if ((index < 0 && System.Windows.Controls.ItemsControl.EqualsEx(item, group.Items[k])) || 468if (localIndex < n && System.Windows.Controls.ItemsControl.EqualsEx(ProtectedItems[localIndex], list[fullIndex])) 661if (System.Windows.Controls.ItemsControl.EqualsEx(x, y)) 669if (System.Windows.Controls.ItemsControl.EqualsEx(x, z)) 673else if (System.Windows.Controls.ItemsControl.EqualsEx(y, z))
MS\Internal\Data\CollectionViewGroupRoot.cs (1)
155Debug.Assert(System.Windows.Controls.ItemsControl.EqualsEx(item, ProtectedItems[index]), "RemoveSpecialItem finds inconsistent data");
MS\Internal\Data\CompositeCollectionView.cs (6)
227if (ItemsControl.EqualsEx(CurrentItem, item)) 885if (ItemsControl.EqualsEx(_collection[positionX], item)) 1151if (ItemsControl.EqualsEx(CurrentItem, item)) 1180if (ItemsControl.EqualsEx(item, CurrentItem)) 1187if (ItemsControl.EqualsEx(item, item2)) 1671if (!ItemsControl.EqualsEx(CurrentItem, GetItem(CurrentPosition, out x, out y)) && !_collection.HasRepeatedCollection())
MS\Internal\Data\DifferencingCollection.cs (6)
64if (index < n && System.Windows.Controls.ItemsControl.EqualsEx(o, list[index])) 74if (index + 1 < n && System.Windows.Controls.ItemsControl.EqualsEx(o, list[index + 1])) 94if (index + 1 < n && System.Windows.Controls.ItemsControl.EqualsEx(o, list[index + 1])) 99if (System.Windows.Controls.ItemsControl.EqualsEx(target, list[index])) 128if (System.Windows.Controls.ItemsControl.EqualsEx(o, target)) 164if (System.Windows.Controls.ItemsControl.EqualsEx(target, list[index]))
MS\Internal\Data\EnumerableCollectionView.cs (4)
429if (!System.Windows.Controls.ItemsControl.EqualsEx(args.OldItems[i], _snapshot[index])) 439if (!System.Windows.Controls.ItemsControl.EqualsEx(args.OldItems[i], _snapshot[index])) 458if (!System.Windows.Controls.ItemsControl.EqualsEx(args.OldItems[i], _snapshot[oldIndex])) 472if (!System.Windows.Controls.ItemsControl.EqualsEx(args.OldItems[i], _snapshot[oldIndex]))
MS\Internal\Data\IndexedEnumerable.cs (1)
407Debug.Assert(System.Windows.Controls.ItemsControl.EqualsEx(_cachedItem, current), "EnsureCacheCurrent: _cachedItem out of sync with _enumerator.Current");
MS\Internal\Data\LiveShapingList.cs (3)
252if (x == y || System.Windows.Controls.ItemsControl.EqualsEx(x.Item, y.Item)) 326if (System.Windows.Controls.ItemsControl.EqualsEx(item, lsi.Item)) 529if (System.Windows.Controls.ItemsControl.EqualsEx(value, x.Item))
MS\Internal\Data\LiveShapingTree.cs (1)
102if (System.Windows.Controls.ItemsControl.EqualsEx(finger.Item.Item, item))
MS\Internal\Data\ObjectRef.cs (1)
497ItemsControl.EqualsEx(child.DataContext, parent.DataContext))
MS\Internal\Data\PropertyPathWorker.cs (2)
418if (!ItemsControl.EqualsEx(oldValue, RawValue(k - 1))) 1000if (!ItemsControl.EqualsEx(item, BindingExpression.GetReference(_arySVS[level].item))
MS\Internal\Data\RBNode.cs (1)
758if (!System.Windows.Controls.ItemsControl.EqualsEx(node.GetItemAt(j), default(T)))
MS\Internal\Data\RBTree.cs (1)
489return IndexOf(item, (x, y) => { return System.Windows.Controls.ItemsControl.EqualsEx(x, y); });
System\Windows\Automation\Peers\DataGridColumnHeadersPresenterAutomationPeer.cs (1)
117!ItemsControl.EqualsEx(peer.Item, dataItemHeader))
System\Windows\Controls\DataGrid.cs (7)
2732if (index >= 0 && ItemsControl.EqualsEx(newItem, Items[index])) 2740if (index < Items.Count && ItemsControl.EqualsEx(newItem, Items[index])) 3098(ItemsControl.EqualsEx(CurrentItem, row.Item) && // rows match (the hard way) 5635if ((e.Key == Key.Up && ItemsControl.EqualsEx(cvg.Items[0], currentInfo.Item)) || 5636(e.Key == Key.Down && ItemsControl.EqualsEx(cvg.Items[cvg.Items.Count - 1], currentInfo.Item))) 6006if (!ItemsControl.EqualsEx(CurrentCell.Item, rowInfo.Item)) 6747if (_editingRowInfo == null || !ItemsControl.EqualsEx(item, _editingRowInfo.Item) ||
System\Windows\Controls\ItemContainerGenerator.cs (7)
598static (state, o, d) => ItemsControl.EqualsEx(o, state), item, 937Debug.Assert(item == null || ItemsControl.EqualsEx(item, target), 1034if (!ItemsControl.EqualsEx(genItem, actualItem)) 2217Debug.Assert(ItemsControl.EqualsEx(rib.ItemAt(rib.ContainerCount - 1), 2231ItemsControl.EqualsEx(rib.ItemAt(0), 2381Debug.Assert(ItemsControl.EqualsEx(item, ItemsInternal[index]), "Event contains the wrong index"); 3058if (ItemsControl.EqualsEx(_entry[k].Item, item))
System\Windows\Controls\ItemsControl.cs (3)
3648else if (info.IsRemoved || !ItemsControl.EqualsEx(info.Item, 3691static (state, o, d) => ItemsControl.EqualsEx(o, state.item) && !state.claimedContainers.Contains(d), 3895if (!ItemsControl.EqualsEx(this.Item, that.Item))
System\Windows\Controls\TabControl.cs (1)
537!ItemsControl.EqualsEx(selectedItem, ItemContainerGenerator.ItemFromContainer(tabItem)))
System\Windows\Data\BindingExpression.cs (4)
937if (StatusInternal == BindingStatusInternal.Inactive || !System.Windows.Controls.ItemsControl.EqualsEx(item, DataItem)) 1501bool realTransfer = !(IsInUpdate && System.Windows.Controls.ItemsControl.EqualsEx(value, Value)); 2313if (!System.Windows.Controls.ItemsControl.EqualsEx(DataItem, item)) 2441if (!System.Windows.Controls.ItemsControl.EqualsEx(DataItem, newItem))
System\Windows\Data\BindingExpressionBase.cs (3)
1115if (ItemsControl.EqualsEx(value, EffectiveTargetNullValue)) 1741!ItemsControl.EqualsEx( contextElement.GetValue(dataContextDP), 2371if (ItemsControl.EqualsEx(toRemove[j].ErrorContent, errorContent))
System\Windows\Data\BindingGroup.cs (4)
832!ItemsControl.EqualsEx(dataContextItem, itemReference.Target)) 1300if (ItemsControl.EqualsEx(item, list[i].Target)) 1598ItemsControl.EqualsEx(item, entry.Item)) 1935ItemsControl.EqualsEx(item, entry.Item))
System\Windows\Data\BindingListCollectionView.cs (6)
856if (!System.Windows.Controls.ItemsControl.EqualsEx(item, _newItem)) 921if (index >= InternalList.Count || !System.Windows.Controls.ItemsControl.EqualsEx(item, GetItemAt(index))) 974if (System.Windows.Controls.ItemsControl.EqualsEx(item, _newItem)) 1097if (!System.Windows.Controls.ItemsControl.EqualsEx(item, _editItem)) 1724else if (IsAddingNew && System.Windows.Controls.ItemsControl.EqualsEx(item, _newItem)) 2296if (!IsAddingNew || !System.Windows.Controls.ItemsControl.EqualsEx(_newItem, item))
System\Windows\Data\CollectionView.cs (3)
519if (System.Windows.Controls.ItemsControl.EqualsEx(CurrentItem, item) || System.Windows.Controls.ItemsControl.EqualsEx(NewItemPlaceholder, item)) 528bool isNewItem = (ecv != null && ecv.IsAddingNew && System.Windows.Controls.ItemsControl.EqualsEx(item, ecv.CurrentAddItem));
System\Windows\Data\ListCollectionView.cs (17)
765if (!System.Windows.Controls.ItemsControl.EqualsEx(newItem, SourceList[index])) 775Debug.Assert(_newItemIndex != -2 && System.Windows.Controls.ItemsControl.EqualsEx(newItem, _newItem), "AddNew did not raise expected events"); 1035if (!System.Windows.Controls.ItemsControl.EqualsEx(item, _newItem)) 1100if (index >= InternalCount || !System.Windows.Controls.ItemsControl.EqualsEx(item, GetItemAt(index))) 1172if (System.Windows.Controls.ItemsControl.EqualsEx(item, _newItem)) 1367if (!System.Windows.Controls.ItemsControl.EqualsEx(item, _editItem)) 1919(IsAddingNew && System.Windows.Controls.ItemsControl.EqualsEx(_newItem, newItem))); 1957System.Windows.Controls.ItemsControl.EqualsEx(ItemFrom(InternalList[localOldIndex]), oldItem)) 2010bool simpleMove = System.Windows.Controls.ItemsControl.EqualsEx(oldItem, newItem); 2019System.Windows.Controls.ItemsControl.EqualsEx(InternalList[localOldIndex], oldItem)) 2191else if (IsAddingNew && System.Windows.Controls.ItemsControl.EqualsEx(item, _newItem)) 2673System.Windows.Controls.ItemsControl.EqualsEx(item, _newItem)) 2700if (!System.Windows.Controls.ItemsControl.EqualsEx(item, ilFull[index])) 2799if (System.Windows.Controls.ItemsControl.EqualsEx(ilFull[fullIndex], ilPartial[localIndex])) 2805else if (System.Windows.Controls.ItemsControl.EqualsEx(item, ilPartial[localIndex])) 2992if (!IsAddingNew || !System.Windows.Controls.ItemsControl.EqualsEx(_newItem, item)) 3204if (System.Windows.Controls.ItemsControl.EqualsEx(item, ilFull[index]))
System\Windows\Data\MultiBindingExpression.cs (2)
964if (ItemsControl.EqualsEx(value, newValue)) 1347bool realTransfer = !(IsInUpdate && ItemsControl.EqualsEx(value, Value));