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)
36
if (
_owner
.IsHandleCreated)
38
SelectionMode current =
_owner
._selectionModeChanging ?
_owner
._cachedSelectionMode :
_owner
._selectionMode;
45
int index =
_owner
.SelectedIndex;
55
return (int)PInvokeCore.SendMessage(
_owner
, PInvoke.LB_GETSELCOUNT);
114
return
_owner
.Items.InnerArray;
127
if (
_owner
.IsHandleCreated)
129
_owner
.NativeUpdateSelection();
233
bool 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();
257
if (
_owner
is not null)
259
ObjectCollection items =
_owner
.Items;
265
_owner
.SelectedIndex = index;
273
if (
_owner
is not null)
275
ObjectCollection items =
_owner
.Items;
281
_owner
.SetSelected(index, false);