1 write to _owner
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListBoxes\ListBox.ObjectCollection.cs (1)
25_owner = owner.OrThrowIfNull();
51 references to _owner
System.Windows.Forms (51)
System\Windows\Forms\Controls\ListBoxes\ListBox.ObjectCollection.cs (51)
62_items ??= new ItemArray(_owner); 87_owner.CheckNoDataSource(); 89_owner.UpdateHorizontalExtent(); 98if (!_owner._sorted) 128if (_owner._sorted) 130if (_owner.IsHandleCreated) 132_owner.NativeInsert(index, item); 133_owner.UpdateMaxItemWidth(item, false); 135_owner._selectedItems?.Dirty(); 141if (_owner.IsHandleCreated) 143_owner.NativeAdd(item); 144_owner.UpdateMaxItemWidth(item, false); 167_owner.CheckNoDataSource(); 175_owner.CheckNoDataSource(); 183_owner.BeginUpdate(); 196_owner.UpdateHorizontalExtent(); 197_owner.EndUpdate(); 217_owner.CheckNoDataSource(); 233_owner.CheckNoDataSource(); 244int cnt = _owner.Items.Count; 247_owner.UpdateMaxItemWidth(InnerArray.GetItem(i), true); 250if (_owner.IsHandleCreated) 252_owner.NativeClear(); 256_owner._maxWidth = -1; 257_owner.UpdateHorizontalExtent(); 258_owner.ClearListItemAccessibleObjects(); 325_owner.CheckNoDataSource(); 333if (_owner._sorted) 340if (_owner.IsHandleCreated) 346_owner.NativeInsert(index, item); 347_owner.UpdateMaxItemWidth(item, false); 360_owner.UpdateHorizontalExtent(); 371_owner.CheckNoDataSource(); 387_owner.CheckNoDataSource(); 392_owner.UpdateMaxItemWidth(InnerArray.GetItem(index), true); 396_owner.RemoveListItemAccessibleObjectAt(index); 402if (_owner.IsHandleCreated) 404_owner.NativeRemoveAt(index); 407_owner.UpdateHorizontalExtent(); 416_owner.UpdateMaxItemWidth(InnerArray.GetItem(index), true); 421if (_owner.IsHandleCreated) 423bool selected = (_owner.SelectedIndex == index); 424if (string.Compare(_owner.GetItemText(value), _owner.NativeGetItemText(index), true, CultureInfo.CurrentCulture) != 0) 426_owner.NativeRemoveAt(index); 427_owner.SelectedItems.SetSelected(index, false); 428_owner.NativeInsert(index, value); 429_owner.UpdateMaxItemWidth(value, false); 432_owner.SelectedIndex = index; 440_owner.OnSelectedIndexChanged(EventArgs.Empty); // will fire selectedvaluechanged 445_owner.UpdateHorizontalExtent();