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)
655
return this.OwningDataGrid.SelectedCellsInternal.
Contains
(new DataGridCellInfo(Item, _column));
676
if (this.OwningDataGrid.SelectedCellsInternal.
Contains
(currentCellInfo))
702
if (this.OwningDataGrid.SelectedCellsInternal.
Contains
(currentCellInfo))
src\Framework\System\Windows\Controls\DataGrid.cs (3)
4641
if (cells.
Contains
(cellInfo))
4724
else if (_selectedCells.
Contains
(cellInfo))
5145
bool selectedCellsContainsCellInfo = _selectedCells.
Contains
(cellInfo);
src\Framework\System\Windows\Controls\VirtualizedCellInfoCollection.cs (2)
78
if (
Contains
(cell))
93
Debug.Assert(!
Contains
(cell), "VirtualizedCellInfoCollection does not support duplicate items.");