1 write to _owner
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListView\ListView.SelectedListViewItemCollection.cs (1)
24_owner = owner.OrThrowIfNull();
30 references to _owner
System.Windows.Forms (30)
System\Windows\Forms\Controls\ListView\ListView.SelectedListViewItemCollection.cs (30)
31if (_owner.IsHandleCreated) 33int cnt = (int)PInvokeCore.SendMessage(_owner, PInvoke.LVM_GETSELECTEDCOUNT); 42_owner, 49lvitems[i] = _owner.Items[fidx]; 62if (_owner._savedSelectedItems is not null) 64ListViewItem[] cloned = new ListViewItem[_owner._savedSelectedItems.Count]; 65for (int i = 0; i < _owner._savedSelectedItems.Count; i++) 67cloned[i] = _owner._savedSelectedItems[i]; 88if (_owner.VirtualMode) 93if (_owner.IsHandleCreated) 95return (int)PInvokeCore.SendMessage(_owner, PInvoke.LVM_GETSELECTEDCOUNT); 99if (_owner._savedSelectedItems is not null) 101return _owner._savedSelectedItems.Count; 116if (_owner.VirtualMode) 124if (_owner.IsHandleCreated) 131_owner, 139return _owner.Items[fidx]; 143Debug.Assert(_owner._savedSelectedItems is not null, "Null selected items collection"); 144return _owner._savedSelectedItems[index]; 156if (_owner.VirtualMode) 184if (_owner.VirtualMode) 267if (_owner.VirtualMode) 284if (_owner.VirtualMode) 294if (_owner.VirtualMode) 304if (_owner.VirtualMode) 321if (_owner.VirtualMode) 334if (_owner.VirtualMode) 352if (_owner.VirtualMode) 371if (_owner.VirtualMode) 391if (_owner.VirtualMode)