3 writes to
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListView\ListViewGroupCollection.cs (1)
107this[index] = group;
System.Windows.Forms.Tests (2)
System\Windows\Forms\ListViewGroupCollectionTests.cs (2)
126collection[index] = group2; 186Assert.Throws<ArgumentOutOfRangeException>("index", () => collection[index] = new ListViewGroup());
18 references to
System.Windows.Forms (13)
System\Windows\Forms\Controls\ListView\ListView.cs (4)
4414ListViewGroup listViewGroup = Groups[e.GroupIndex]; 4581InsertGroupNative(index, _groups[index]); 6363ListViewGroup targetGroup = _groups[i]; 6456if (_groups[i].ID == groupID)
System\Windows\Forms\Controls\ListView\ListViewGroupCollection.cs (9)
65if (string.Equals(key, this[i].Name, StringComparison.CurrentCulture)) 67return this[i]; 86if (string.Equals(key, this[i].Name, StringComparison.CurrentCulture)) 102get => this[index]; 169Add(groups[i]); 191_listView.RemoveGroupFromListView(this[i]); 198this[i].ListView = null; 199this[i].ReleaseUiaProvider(); 302public void RemoveAt(int index) => Remove(this[index]);
System.Windows.Forms.Tests (5)
System\Windows\Forms\AccessibleObjects\ListViewGroup.ListViewGroupAccessibleObjectTests.cs (1)
906AccessibleObject GetAccessibleObject(int index) => listView.Groups[index].AccessibilityObject;
System\Windows\Forms\ListViewGroupCollectionTests.cs (3)
41Assert.Throws<ArgumentOutOfRangeException>("index", () => collection[index]); 274Assert.Equal(collection[expectedIndex], collection[key]); 323Assert.Same(group3, collection[expectedIndex]);
System\Windows\Forms\ListViewTests.cs (1)
4599Assert.Equal(control.Groups[expectedGroupIndex], control.FocusedGroup);