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