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