12 writes to _owner
System.Windows.Forms (12)
System\Windows\Forms\Controls\ListView\ListViewItem.cs (3)
127
subItems[i].
_owner
= this;
218
subItems[i].
_owner
= this;
1255
newItem.
_owner
= this;
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewSubItem.cs (2)
42
_owner
= owner;
48
_owner
= owner;
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewSubItemCollection.cs (7)
60
value.
_owner
= _owner;
62
oldSubItem.
_owner
= null;
112
item.
_owner
= _owner;
141
item.
_owner
= _owner;
201
_owner.SubItems[i].
_owner
= null;
307
item.
_owner
= _owner;
350
_owner._subItems[index].
_owner
= null;
19 references to _owner
System.Windows.Forms (19)
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewSubItem.cs (19)
62
if (_accessibilityObject is null &&
_owner
is not null)
64
_accessibilityObject = new ListViewSubItemAccessibleObject(this,
_owner
);
80
return
_owner
?._listView?.BackColor ?? SystemColors.Window;
89
_owner
?.InvalidateListView();
99
if (
_owner
?._listView is not null &&
_owner
._listView.IsHandleCreated)
101
return
_owner
._listView.GetSubItemRect(
_owner
.Index,
_owner
.SubItems.IndexOf(this));
150
return
_owner
?._listView?.Font ?? Control.DefaultFont;
159
_owner
?.InvalidateListView();
173
return
_owner
?._listView?.ForeColor ?? SystemColors.WindowText;
182
_owner
?.InvalidateListView();
187
internal int Index =>
_owner
is null ? -1 :
_owner
.SubItems.IndexOf(this);
209
_owner
?.UpdateSubItems(
_owner
.SubItems.IndexOf(this));
221
_owner
?.UpdateSubItems(-1);
258
_owner
?.InvalidateListView();