1 write to owner
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ListViewItem.cs (1)
1724
this.
owner
= owner;
58 references to owner
System.Windows.Forms (58)
winforms\Managed\System\WinForms\ListViewItem.cs (58)
1734
return
owner
.SubItemCount;
1781
return
owner
.subItems[index];
1787
owner
.subItems[index] = value;
1788
owner
.UpdateSubItems(index);
1836
item.owner = this.
owner
;
1837
owner
.subItems[
owner
.SubItemCount] = item;
1838
owner
.UpdateSubItems(
owner
.SubItemCount++);
1844
ListViewSubItem item = new ListViewSubItem(
owner
, text);
1851
ListViewSubItem item = new ListViewSubItem(
owner
, text, foreColor, backColor, font);
1865
owner
.subItems[
owner
.SubItemCount++] = item;
1869
owner
.UpdateSubItems(-1);
1881
owner
.subItems[
owner
.SubItemCount++] = new ListViewSubItem(
owner
, item);
1885
owner
.UpdateSubItems(-1);
1897
owner
.subItems[
owner
.SubItemCount++] = new ListViewSubItem(
owner
, item, foreColor, backColor, font);
1901
owner
.UpdateSubItems(-1);
1920
int oldCount =
owner
.SubItemCount;
1922
owner
.SubItemCount = 0;
1923
owner
.UpdateSubItems(-1, oldCount);
1966
if (
owner
.SubItemCount == ListViewItem.MAX_SUBITEMS) {
1970
if (
owner
.SubItemCount + size >
owner
.subItems.Length) {
1975
if (
owner
.subItems == null) {
1977
owner
.subItems = new ListViewSubItem[newSize];
1980
int newSize =
owner
.subItems.Length * 2;
1981
while(newSize -
owner
.SubItemCount < size) {
1991
Array.Copy(
owner
.subItems, 0, newItems, 0, index);
1992
Array.Copy(
owner
.subItems, index, newItems, index + size,
owner
.SubItemCount - index);
1995
Array.Copy(
owner
.subItems, newItems,
owner
.SubItemCount);
1997
owner
.subItems = newItems;
2005
for(int i =
owner
.SubItemCount - 1; i >= index; i--) {
2006
owner
.subItems[i + size] =
owner
.subItems[i];
2018
if (
owner
.subItems[index] == subItem) {
2085
item.owner =
owner
;
2091
owner
.subItems[index] = item;
2092
owner
.SubItemCount++;
2093
owner
.UpdateSubItems(-1);
2137
for (int i = index + 1; i <
owner
.SubItemCount; i++) {
2138
owner
.subItems[i - 1] =
owner
.subItems[i];
2141
int oldCount =
owner
.SubItemCount;
2142
owner
.SubItemCount--;
2143
owner
.subItems[
owner
.SubItemCount] = null;
2144
owner
.UpdateSubItems(-1, oldCount);
2162
System.Array.Copy(
owner
.subItems, 0, dest, index, Count);
2171
if (
owner
.subItems != null) {
2172
return new WindowsFormsUtils.ArraySubsetEnumerator(
owner
.subItems,
owner
.SubItemCount);