13 references to Contains
PresentationFramework (13)
src\Framework\System\Windows\Automation\Peers\SelectorItemAutomationPeer.cs (1)
105
return parentSelector._selectedItems.
Contains
(parentSelector.NewItemInfo(Item));
src\Framework\System\Windows\Controls\DataGrid.cs (1)
4981
if (minimalModify && _selectedItems.
Contains
(info))
src\Framework\System\Windows\Controls\Primitives\Selector.cs (11)
1257
if (!_selectedItems.
Contains
(info))
1301
if (_selectedItems.
Contains
(info))
1652
if (toRemove.
Contains
(itemInfo))
2471
if (!_owner._selectedItems.
Contains
(info))
2505
if (_toSelect.
Contains
(key) && !_owner._selectedItems.
Contains
(info))
2563
if (!_toDeferSelect.
Contains
(info))
2578
if (_owner._selectedItems.
Contains
(info)) return false;
2581
if (!key.IsKey && _toSelect.
Contains
(key)) return false;
2622
if (!_owner._selectedItems.
Contains
(key)) return false;
2625
if (_toUnselect.
Contains
(info)) return false;