13 references to Contains
PresentationFramework (13)
System\Windows\Automation\Peers\SelectorItemAutomationPeer.cs (1)
108
return parentSelector._selectedItems.
Contains
(parentSelector.NewItemInfo(Item));
System\Windows\Controls\DataGrid.cs (1)
4976
if (minimalModify && _selectedItems.
Contains
(info))
System\Windows\Controls\Primitives\Selector.cs (11)
1239
if (!_selectedItems.
Contains
(info))
1283
if (_selectedItems.
Contains
(info))
1632
if (toRemove.
Contains
(itemInfo))
2426
if (!_owner._selectedItems.
Contains
(info))
2460
if (_toSelect.
Contains
(key) && !_owner._selectedItems.
Contains
(info))
2518
if (!_toDeferSelect.
Contains
(info))
2533
if (_owner._selectedItems.
Contains
(info)) return false;
2536
if (!key.IsKey && _toSelect.
Contains
(key)) return false;
2577
if (!_owner._selectedItems.
Contains
(key)) return false;
2580
if (_toUnselect.
Contains
(info)) return false;