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); 117return _owner.Items.InnerArray; 130if (_owner.IsHandleCreated) 132_owner.NativeUpdateSelection(); 236bool selected = _owner.Items.InnerArray.GetState(index, SelectedObjectMask); 241_owner.NativeSetSelected(index, true /*we signal selection to the native listBox only if the item is actually selected*/); 255_owner?.ClearSelected(); 260if (_owner is not null) 262ObjectCollection items = _owner.Items; 268_owner.SelectedIndex = index; 276if (_owner is not null) 278ObjectCollection items = _owner.Items; 284_owner.SetSelected(index, false);