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)
4935
if (minimalModify && _selectedItems.
Contains
(info))
System\Windows\Controls\Primitives\Selector.cs (11)
1227
if (!_selectedItems.
Contains
(info))
1271
if (_selectedItems.
Contains
(info))
1620
if (toRemove.
Contains
(itemInfo))
2415
if (!_owner._selectedItems.
Contains
(info))
2448
if (_toSelect.
Contains
(key) && !_owner._selectedItems.
Contains
(info))
2506
if (!_toDeferSelect.
Contains
(info))
2521
if (_owner._selectedItems.
Contains
(info)) return false;
2524
if (!key.IsKey && _toSelect.
Contains
(key)) return false;
2565
if (!_owner._selectedItems.
Contains
(key)) return false;
2568
if (_toUnselect.
Contains
(info)) return false;