3 writes to
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewSubItemCollection.cs (1)
79this[index] = item;
System.Windows.Forms.Tests (2)
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewSubItem.ListViewSubItemAccessibleObjectTests.cs (1)
1165listView.Items[0].SubItems[subItemIndex] = new ListViewItem.ListViewSubItem();
System\Windows\Forms\ListViewSubItemCollectionTests.cs (1)
86Assert.Throws<ArgumentOutOfRangeException>("index", () => collection[index] = new ListViewItem.ListViewSubItem());
26 references to
System.Windows.Forms (19)
System\Windows\Forms\Controls\ListView\ListView.cs (8)
2732Items[itemIndex].SubItems[nmcd->iSubItem], 2798subItemFont = item.SubItems[subitem].Font; 2808subItemForeColor = item.SubItems[subitem].ForeColor; 2809subItemBackColor = item.SubItems[subitem].BackColor; 3327ListViewSubItem listViewSubItem = listViewItem.SubItems[j]; 3739_listViewSubItem = item.SubItems[lvhi.iSubItem]; 4212SetItemText(insertIndex, nItem, li.SubItems[nItem].Text, ref lvItem); 4927SetItemText(i, j, Items[i].SubItems[j].Text, ref item);
System\Windows\Forms\Controls\ListView\ListView.ListViewItemCollection.cs (1)
294if (WindowsFormsUtils.SafeCompareStrings(listViewItems[i].SubItems[j].Name, key, ignoreCase: true))
System\Windows\Forms\Controls\ListView\ListViewItem.cs (2)
889ListViewSubItem subItem = SubItems[index]; 983return SubItems[iSubItem];
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemDetailsAccessibleObject.cs (1)
147return _owningItem.SubItems[subItemIndex].AccessibilityObject;
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemTileAccessibleObject.cs (1)
61return _owningItem.SubItems[index].AccessibilityObject;
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewSubItemCollection.cs (5)
71get => this[index]; 103return this[index]; 201_owner.SubItems[i]._owner = null; 277if (WindowsFormsUtils.SafeCompareStrings(this[_lastAccessedIndex].Name, key, ignoreCase: true)) 285if (WindowsFormsUtils.SafeCompareStrings(this[i].Name, key, ignoreCase: true))
System\Windows\Forms\Controls\ListView\ListViewItemConverter.cs (1)
51if (item.SubItems[i].CustomStyle)
System.Windows.Forms.Tests (6)
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemDetailsAccessibleObjectTests.cs (1)
43AccessibleObject expected = item.SubItems[control.Columns.Count - 1].AccessibilityObject;
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewSubItem.ListViewSubItemAccessibleObjectTests.cs (1)
1017var subItemAccessibleObject = (ListViewSubItemAccessibleObject)control.Items[0].SubItems[i].AccessibilityObject;
System\Windows\Forms\ListViewSubItemCollectionTests.cs (3)
59Assert.Throws<ArgumentOutOfRangeException>("index", () => collection[index]); 181Assert.Equal(expectedIndex != -1 ? collection[expectedIndex] : null, collection[key]); 204Assert.Same(subItem, collection[i]);
System\Windows\Forms\ListViewTests.cs (1)
5447Point subItemLocation = listView.Items[0].SubItems[subItemIndex].Bounds.Location + new Size(1, 1);
System.Windows.Forms.UI.IntegrationTests (1)
ListViewTests.cs (1)
129AccessibleObject? expectedAccessibleObject = listView.Items[itemIndex].SubItems[subItemIndex].AccessibilityObject;