1 write to _owner
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListView\ListView.SelectedListViewItemCollection.cs (1)
24
_owner
= owner.OrThrowIfNull();
30 references to _owner
System.Windows.Forms (30)
System\Windows\Forms\Controls\ListView\ListView.SelectedListViewItemCollection.cs (30)
31
if (
_owner
.IsHandleCreated)
33
int cnt = (int)PInvokeCore.SendMessage(
_owner
, PInvoke.LVM_GETSELECTEDCOUNT);
42
_owner
,
49
lvitems[i] =
_owner
.Items[fidx];
62
if (
_owner
._savedSelectedItems is not null)
64
ListViewItem[] cloned = new ListViewItem[
_owner
._savedSelectedItems.Count];
65
for (int i = 0; i <
_owner
._savedSelectedItems.Count; i++)
67
cloned[i] =
_owner
._savedSelectedItems[i];
88
if (
_owner
.VirtualMode)
93
if (
_owner
.IsHandleCreated)
95
return (int)PInvokeCore.SendMessage(
_owner
, PInvoke.LVM_GETSELECTEDCOUNT);
99
if (
_owner
._savedSelectedItems is not null)
101
return
_owner
._savedSelectedItems.Count;
116
if (
_owner
.VirtualMode)
124
if (
_owner
.IsHandleCreated)
131
_owner
,
139
return
_owner
.Items[fidx];
143
Debug.Assert(
_owner
._savedSelectedItems is not null, "Null selected items collection");
144
return
_owner
._savedSelectedItems[index];
156
if (
_owner
.VirtualMode)
184
if (
_owner
.VirtualMode)
267
if (
_owner
.VirtualMode)
284
if (
_owner
.VirtualMode)
294
if (
_owner
.VirtualMode)
304
if (
_owner
.VirtualMode)
321
if (
_owner
.VirtualMode)
334
if (
_owner
.VirtualMode)
352
if (
_owner
.VirtualMode)
371
if (
_owner
.VirtualMode)
391
if (
_owner
.VirtualMode)