1 write to _owner
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewSubItemCollection.cs (1)
23_owner = owner.OrThrowIfNull();
46 references to _owner
System.Windows.Forms (46)
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewSubItemCollection.cs (46)
30public int Count => _owner.SubItemCount; 50return _owner._subItems[index]; 57ListViewSubItem oldSubItem = _owner._subItems[index]; 59_owner._subItems[index] = value.OrThrowIfNull(); 60value._owner = _owner; 65_owner.UpdateSubItems(index); 112item._owner = _owner; 113_owner._subItems.Add(item); 114_owner.UpdateSubItems(_owner.SubItemCount++); 120ListViewSubItem item = new(_owner, text); 127ListViewSubItem item = new(_owner, text, foreColor, backColor, font); 141item._owner = _owner; 142_owner._subItems.Add(item); 143_owner.SubItemCount++; 147_owner.UpdateSubItems(-1); 159_owner._subItems.Add(new ListViewSubItem(_owner, item)); 160_owner.SubItemCount++; 164_owner.UpdateSubItems(-1); 176_owner._subItems.Add(new ListViewSubItem(_owner, item, foreColor, backColor, font)); 177_owner.SubItemCount++; 181_owner.UpdateSubItems(-1); 196int oldCount = _owner.SubItemCount; 201_owner.SubItems[i]._owner = null; 202_owner._subItems[i].ReleaseUiaProvider(); 205_owner._subItems.Clear(); 206_owner.SubItemCount = 0; 207_owner.UpdateSubItems(-1, oldCount); 234if (_owner.SubItemCount >= MaxSubItems) 239_owner._subItems.EnsureCapacity(_owner._subItems.Count + additionalCapacity); 246if (_owner._subItems[index] == subItem) 307item._owner = _owner; 312_owner._subItems.Insert(index, item); 313_owner.SubItemCount++; 314_owner.UpdateSubItems(-1); 350_owner._subItems[index]._owner = null; 351_owner._subItems[index].ReleaseUiaProvider(); 354_owner._subItems.RemoveAt(index); 356int oldCount = _owner.SubItemCount; 357_owner.SubItemCount--; 358_owner.UpdateSubItems(-1, oldCount); 377((ICollection)_owner._subItems).CopyTo(dest, index); 383return _owner._subItems.GetEnumerator();