1 write to _owner
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListBoxes\ListBox.SelectedObjectCollection.cs (1)
24_owner = owner.OrThrowIfNull();
18 references to _owner
System.Windows.Forms (18)
System\Windows\Forms\Controls\ListBoxes\ListBox.SelectedObjectCollection.cs (18)
36if (_owner.IsHandleCreated) 38SelectionMode current = _owner._selectionModeChanging ? _owner._cachedSelectionMode : _owner._selectionMode; 45int index = _owner.SelectedIndex; 55return (int)PInvokeCore.SendMessage(_owner, PInvoke.LB_GETSELCOUNT); 114return _owner.Items.InnerArray; 127if (_owner.IsHandleCreated) 129_owner.NativeUpdateSelection(); 233bool selected = _owner.Items.InnerArray.GetState(index, SelectedObjectMask); 238_owner.NativeSetSelected(index, true /*we signal selection to the native listBox only if the item is actually selected*/); 252_owner?.ClearSelected(); 257if (_owner is not null) 259ObjectCollection items = _owner.Items; 265_owner.SelectedIndex = index; 273if (_owner is not null) 275ObjectCollection items = _owner.Items; 281_owner.SetSelected(index, false);