1 write to _owner
PresentationFramework (1)
System\Windows\Controls\Primitives\Selector.cs (1)
2252_owner = s;
39 references to _owner
PresentationFramework (39)
System\Windows\Controls\Primitives\Selector.cs (39)
2272Debug.Assert(_owner.CheckAccess()); 2285Debug.Assert(_owner.CheckAccess()); 2298_owner.UpdatePublicSelectionProperties(); 2310if (_owner.IsSynchronizedWithCurrentItemPrivate) 2311_owner.SetCurrentToSelected(); 2312_owner.InvokeSelectionChanged(unselected, selected); 2318if (!_owner.CanSelectMultiple) 2324_toUnselect = new InternalSelectedItemsStorage(_owner._selectedItems); 2329if (_owner._selectedItems.Count > 1 && _owner._selectedItems.Count != _toUnselect.Count + 1) 2332ItemInfo selectedItem = _owner._selectedItems[0]; 2335foreach (ItemInfo info in _owner._selectedItems) 2353if (_owner.Items.Contains(info.Item)) 2365using (_owner._selectedItems.DeferRemove()) 2373_owner.ItemSetIsSelected(info, false); 2374if (_owner._selectedItems.Remove(info)) 2390ItemInfo match = _owner._selectedItems.FindMatch(ItemInfo.Key(info)); 2393_owner.ItemSetIsSelected(match, false); 2394_owner._selectedItems.Remove(match); 2415_owner.ItemSetIsSelected(info, true); 2416if (!_owner._selectedItems.Contains(info)) 2418_owner._selectedItems.Add(info); 2446for (int index = 0; _toSelect.UnresolvedCount > 0 && index < _owner.Items.Count; ++index) 2448ItemInfo info = _owner.NewItemInfo(_owner.Items[index], null, index); 2450if (_toSelect.Contains(key) && !_owner._selectedItems.Contains(info)) 2452_owner.ItemSetIsSelected(info, true); 2453_owner._selectedItems.Add(info); 2495Debug.Assert(_owner.CheckAccess()); 2505if (!_owner.Items.Contains(info.Item)) 2523if (_owner._selectedItems.Contains(info)) return false; 2529if (!_owner.CanSelectMultiple && _toSelect.Count > 0) 2536_owner.ItemSetIsSelected(item, false); 2552Debug.Assert(_owner.CheckAccess()); 2567if (!_owner._selectedItems.Contains(key)) return false; 2590Debug.Assert(_owner.CheckAccess()); 2632for (int i = _owner._selectedItems.Count - 1; i >= 0; i--) 2634if (info != _owner._selectedItems[i]) 2636Unselect(_owner._selectedItems[i]);