13 references to Contains
PresentationFramework (13)
System\Windows\Automation\Peers\SelectorItemAutomationPeer.cs (1)
95
return parentSelector._selectedItems.
Contains
(parentSelector.NewItemInfo(Item));
System\Windows\Controls\DataGrid.cs (1)
4973
if (minimalModify && _selectedItems.
Contains
(info))
System\Windows\Controls\Primitives\Selector.cs (11)
1230
if (!_selectedItems.
Contains
(info))
1274
if (_selectedItems.
Contains
(info))
1623
if (toRemove.
Contains
(itemInfo))
2417
if (!_owner._selectedItems.
Contains
(info))
2451
if (_toSelect.
Contains
(key) && !_owner._selectedItems.
Contains
(info))
2509
if (!_toDeferSelect.
Contains
(info))
2524
if (_owner._selectedItems.
Contains
(info)) return false;
2527
if (!key.IsKey && _toSelect.
Contains
(key)) return false;
2568
if (!_owner._selectedItems.
Contains
(key)) return false;
2571
if (_toUnselect.
Contains
(info)) return false;