Implemented interface member:
method
Contains
System.Collections.Generic.ICollection<T>.Contains(T)
8 references to Contains
PresentationFramework (8)
src\Framework\System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (3)
655return this.OwningDataGrid.SelectedCellsInternal.Contains(new DataGridCellInfo(Item, _column)); 676if (this.OwningDataGrid.SelectedCellsInternal.Contains(currentCellInfo)) 702if (this.OwningDataGrid.SelectedCellsInternal.Contains(currentCellInfo))
src\Framework\System\Windows\Controls\DataGrid.cs (3)
4641if (cells.Contains(cellInfo)) 4724else if (_selectedCells.Contains(cellInfo)) 5145bool selectedCellsContainsCellInfo = _selectedCells.Contains(cellInfo);
src\Framework\System\Windows\Controls\VirtualizedCellInfoCollection.cs (2)
78if (Contains(cell)) 93Debug.Assert(!Contains(cell), "VirtualizedCellInfoCollection does not support duplicate items.");